ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Obtain a count of number of layers in a chart
Posted by Chuck on May-13-2021 01:34
Hi Peter,

Can you provide a VB.NET example of getting a count of the number of layers on a chart?

Thank you,
Chuck

  Re: Obtain a count of number of layers in a chart
Posted by Peter Kwan on May-13-2021 12:57
Hi Chuck,

Yes. It is:

' c = BaseChart object
Dim layerCount As Integer = c.getLayerCount()

See:

https://www.advsofteng.com/doc/cdnet.htm#XYChart.getLayerCount.htm

Regards
Peter Kwan

  Re: Obtain a count of number of layers in a chart
Posted by Chuck on May-13-2021 22:05

Thank you Peter.
Chuck