Next
Update
Prev
Default

You can add the chart legend using the <Legend> element tag which is defined as a child node of the <Options> element tag.

This sample chart is to show how to add the vertical scrollbar to the chart legend.

...
<Options>
  <Legend useVisibleCheck="true" position="right" direction="vertical" labelPlacement="right" markerWidth="12" markerHeight="12" width="110" height="130" verticalScrollPolicy="on" />
</Options>
...

Legend

useVisibleCheck The useVisibleCheck attribute determines whether or not to use the checkbox in the chart legend. you cannot use the checkbox in the chart legend for the pie or doughnut chart.
position The position attribute is to set the location of the chart legend. The valid values are "left", "right", "top" and "bottom".
direction The direction attribute is to set the display direction of the legend items. The valid values are "horizontal" and "vertical".
labelPlacement The labelPlacement attribute is to set the location of the text label in the chart legend. The valid values are "right", "left", "top" and "bottom".
markerWidth The markerWidth attribute is to set the width of the shape which represents the series data.
markerHeight The markerHeight attribute is to set the height of the shape which represents the series data.
width The width attribute is to set the width of the chart legend.
height The height attribute is to set the height of the chart legend.
verticalScrollPolicy The verticalScrollPolicy attribute determines whether or not to add the vertical scrollbar to the chart legend.

© 2017 KoolChart. All rights reserved.