Hello, I've encountered multiple issues regarding a chart containing multiple chartrows. Attached is a sample to be used as reference.
Requirements:
- There should always be a red chartrow border visible between multiple chartrows
- There should always be a yellow vertical annotation which overlaps all chartrows.
Issue 1: Run the sample. Check the Price checkbox, then check the Price2 checkbox. Two chartrows appear, but the red chartrow border is missing, even though it's defined in the sfChartEx class line 174.
https://postimg.cc/mcbtwmhw
Issue 2: Run the sample. Check the Price checkbox, then check the Price2 checkbox, then uncheck the Price checkbox. The vertical gridlines are cut in half.
https://postimg.cc/7fKH4qLg
Issue 3: Run the sample. Check the Price checkbox, then check the Price2 checkbox, then uncheck the Price checkbox, then check the Price checkbox, then uncheck the Price2 checkbox. Default labels and vertical gridlines appear, meaning an additional default axis has been erroneously created.
https://postimg.cc/Ff9x2tTk
A workaround for all these issues is to completely recreate the chart every time a change happens, but I would like to use a better solution. How can these issues be resolved?
Thank you.
Attachment:
sfChartRows_635f1983.rar