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

Message ListMessage List     Post MessagePost Message

  CDML Table
Posted by Wats on Oct-31-2011 23:57
Hi Peter,

Is it possible to get the text of a cell?

anything like table.getCell(0, 0).getText(); ?????

Thank you,
Wats

  Re: CDML Table
Posted by Peter Kwan on Nov-01-2011 00:25
Hi Wats,

Unluckily, there is no method to get the text in a cell.

If the text is provided by your code, then your code should already have the text. If the text is automatically generated by ChartDirector, the only possibility is that the text is an axis label. In this case, you may call BaseChart.layoutAxes, and then use Axis.getLabel to get the label (and to use Axis.getTicks to get the ticks position if you need them).

Hope this can help.

Regards
Peter Kwan