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

Message ListMessage List     Post MessagePost Message

  Display x value in tool tip
Posted by John Young on Dec-03-2011 11:27
The code in one of your samples uses the following command to define what is shown in the tool tip on the line graph:

viewer.ImageMap = c.getHTMLImageMap("", "", "title='{dataSetName} {xLabel} {value}'")

I would like to replace the xLabel and display the actual x value for the data point. My x axis is datetime with many more data points than xLabels on the graph.

Can you tell me the code I would use to do this?

Thank you.

  Re: Display x value in tool tip
Posted by Peter Kwan on Dec-05-2011 17:21
Hi John,

You may replace {xLabel} with {x|mmm dd, yyyy} (the formatting mmm dd, yyyy is just an example, please change it to the formatting you would like to use).

Hope this can help.

Regards
Peter Kwan