ZoomCharts Documentation
Switch to Version 2.0 (BETA)
ZoomCharts.Configuration.BaseExportDimensions
Methods
Properties
unit is mm, instead the default of 300 is applied.Specifies the DPI setting used to calculate the pixel size if unit is specified as mm.
Note that because of browser API limits the metadata of the resulting image will always specify DPI=96 even
though the pixel size will be calculated correctly.
Specifies the width of the resulting image. If not given, the current width of the chart element is used instead.
If the width is also specified but the aspect ratio is different from the chart, the image will be
aligned in the top-left corner.
width and height in this object as well, not only autodetected values.Specifies a scale factor to the resulting image. A value of 2 will result in both the width
and height being multiplied by 2.
Specifies the unit in which the width and height values are given.
- mm - both width and height are given in milimeters,
dpiis used to calculate pixel size. - px - both width and height are given in pixels.
Specifies the width of the resulting image. If not given, the current width of the chart element is used instead.
If the height is also specified but the aspect ratio is different from the chart, the image will be
aligned in the top-left corner.