I have a scenario where users can optionally choose to have common custom Y-axis for more than one series. For example, say, fastlineseries1 has a customYAxis and then user adds a fastlineseries2 with same customYAxis as that of fastlineseries1 for the same chart. Now, when user removes the fastlineseries1 (by default we dispose the associated customYAxis with the series) from the displayed chart, the fastlineseries2 is shown without any axis.
We want to check to see if a given customYAxis has more than one series associated with it before removing the customYAxis. Is there a way to check if a given customYAxis any associated series (or at least the count of associated series).
Thanks,
Common Custom Y Axis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Common Custom Y Axis
Hi asupriya,
No, there's no such property. You will have to loop all the series in the chart and check if their VertAxis property is assigned to the chart you are trying to remove. Only remove given axis when it only has one series associated.
No, there's no such property. You will have to loop all the series in the chart and check if their VertAxis property is assigned to the chart you are trying to remove. Only remove given axis when it only has one series associated.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |