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

Message ListMessage List     Post MessagePost Message

  hotSpot.Item
Posted by Helmut on Dec-24-2017 20:21
Hello,

I have a question.
my hotSpot.Item (2) does not show with the x or Col no.

for example, x = 63650188800

This is not a Col no.

I use
Call c.xAxis (). SetDateScale (viewPortStartDate, viewPortEndDate)
Call layer.setXData (viewPortStartDate, viewPortEndDate)

Without this setting works the hotSpot.Item (2).

Thanks for your help.

Greetings Helmut

  Re: hotSpot.Item
Posted by Peter Kwan on Dec-26-2017 00:05
Hi Helmut,

The value 63650188800 seems like a date/time to me. It represents seconds elapsed since 1-1-0001 00:00:00.

In tooltips, we often use something like {x|yyyy-mm-dd} to format the date/time into a human readable format. For the hotSpot.Item, the x coordinate is returned in its original form (as seconds elapsed). You can use BaseChart.formatValue to format them into a human readable format, or you can use cd.NTime to convert it to VB6 format (as VB6 Date), so that it is readable by other VB6 code.

Hope this can help.

Regards
Peter Kwan