Exporting

From Documentation
Revision as of 08:44, 8 December 2017 by Hawk (talk | contribs) (→‎Size)

Exported Images

Size

The exported image size in pixel is calculated by:

chart width * scale = exported width

chart height * scale = exported height

If you do not specify a chart's width and height, ZK Charts exports with the default size:

  • width, 600 pixels
  • height, 400 pixels

Because of the default scale is 2, the exported image will be 1200 pixels (width) * 800 pixels (height).


If you specify a chart's width/height (or hfle/vflex), e.g. 400 pixels wide and 200 pixels high, then exported image will be 800 pixels wide and 400 pixels high.


Difference between a Chart on Screen and Exported One

Because the exported size might be different from the chart's size on your screen, so the exported chart image might look different from your screen.

For example, the original chart on the screen:

Zkchart-essentials-chart-on-screen.png


The exported result:

Zkchart-essentials-exported-chart.png

Differences:

  1. All x-axis labels are rotated.
  2. Some y-axis tick labels are missing.

The differences are caused by the different size between exporting and on-screen one.