Next
Update
Prev
Default

You can add a memo or annotation to the chart using the <Label> element tag which is defined as a child node of the <CanvasElement> element tag.

This sample chart is to show how to represent the memo or annotation.

...
<Area2DChart ... >
...					
  <annotationElements>
    <CanvasElement>
      <Label text="The first memo (left)" left="0" fontSize="11" borderColor="0x000000" />
      <Label text="The second memo (center)" horizontalCenter="0" verticalCenter="0" fontSize="11" borderColor="0x000000" />
      <Label text="The third memo (right)" right="0" bottom="0" fontSize="11" borderColor="0x000000" />
    <CanvasElement>
  </annotationElements>
...

Label

text The text attribute is to set the text representing the memo or annotation.
left The left attribute is to set the left margin of the text.
right The right attribute is to set the right margin of the text.
bottom The bottom attribute is to set the bottom margin of the text.
horizontalCenter The horizontalCenter attribute is to set the location's horizontal distance from the center of the chart.
verticalCenter The verticalCenter attribute is to set the location's vertical distance from the center of the chart.
borderColor The borderColor attribute is to set the border color of the text box.

© 2017 KoolChart. All rights reserved.