I want to use different color for the stroke in a HLOC chart based on the openfield, closefiled value.
It's just like the fillFunction in a ColumnSeries.
Anybody got any ideas to make this?
And I would also like to know which class is responsible for the drawing of charts? So that I can alter it and develop one that suits my needs.
Thanks very much!
you need to create a custom ItemRenderer.
Default itemRenderer for HLOCSeries is HLOCItemRenderer, so you need to extend it.
I need to override the updateDisplayList function in HLOCItemRenderer to make it draw what I want.
Yes, you are right.
If you need to save a data about limits you also need to extend HLOCSeries to add a property with this limits or add a function, that will get a color for value.