Nevron Forum

Chart sizing

https://www.nevron.com/Forum/Topic5634.aspx

By frank papp - Wednesday, September 28, 2011

How can I get a single bar chart to fill up an entire page/screen? PLease point me to any examples/documentation that could help.

 

Thank You

By Nevron Support - Friday, March 1, 2013

Hello Frank,

You should be able to control the size of the chart web part from the Rendering tab of the designer.

You can configure the chart to dynamically resize based on expressions and parameters. Take a look at the following example: Chart Dynamic Size

By Bob Smith 2 - Friday, March 1, 2013

Just FYI, it appears that all chart widths / heights are calculated in Pixels.

Different sized screens use different resolutions (different numbers of pixels for height and width). So someone with a small, square screen might have a resolution of 1024x768. If your chart is 1200 pixels wide, it will fill their entire screen and then some (1200 vs. 1024). However, if someone has a large widescreen monitor it could have a resolution of 1920x1080. Now, your 1200 pixel wide chart will no longer fill their screen (1200 vs. 1920).

The Nevron folks would have to say whether or not a chart's dimensions can be calculated using the resolution of the monitor / size of web browser page being used to draw it.
By Nevron Support - Monday, March 11, 2013

Hi Bob,

In theory this should be achieved by writing expressions that use the [BrowserScreenWidth] and [BrowserScreenHeight] predefined parameters (see Pivot Engine > Variables > Parameters for a complete list of predefined parameters).
However these predefined parameters are now implemented by using the  Request.Browser.ScreenPixelsWidth  and  Request.Browser.ScreenPixelsHeight properties that do not work correctly. We are now thinking for a workaround...