Posted 14 April 2020, 3:40 pm EST
The itemformatter seems only to be able to format the series symbol which is the point in the line chart. How can we format the line segment dynamically like the point? Thanks.
Forums Home / Wijmo / General Discussion
Posted by: Yifan_Zhang on 14 April 2020, 3:40 pm EST
Posted 14 April 2020, 3:40 pm EST
The itemformatter seems only to be able to format the series symbol which is the point in the line chart. How can we format the line segment dynamically like the point? Thanks.
Posted 15 April 2020, 1:07 am EST
Hi Yifan,
The itemFormatter of the FlexChart only runs for the SeriesSymbol. If you need to format the line segments, you will need to draw the custom line segments manually. Please refer to the sample link below for reference:
https://www.grapecity.com/wijmo/demos/Chart/LineArea/CustomLineSegments/purejs
Regards,
Ashwin
Posted 15 April 2020, 1:25 am EST
Thanks for the reply. That sample should work. I’ll give it a try.