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

Message ListMessage List     Post MessagePost Message

  0 or 1 Based?
Posted by Mike Cotrone on Aug-05-2016 08:50
Hi Peter,

I am using Chart.getLayerCount and Layer.getDataSetCount in order to loop each layer and dataset. Are they 0 based or 1 based arrays?

Thank you :)
Mike

  Re: 0 or 1 Based?
Posted by Peter Kwan on Aug-05-2016 14:46
Hi Mike,

They are 0 based arrays. The index is from 0 to layer.getDataSetCount() - 1.

Hope this can help.

Regards
Peter Kwan