Search found 7 matches

by JPTP
Mon May 08, 2017 2:55 pm
Forum: ActiveX
Topic: Map Chart
Replies: 14
Views: 27548

Re: Map Chart

Yeray Almost have it :) I have added a MarkTip tool to the chart I have the call to OnMarkTipToolGetText() working and can set the tooltip text. However, I do not know how to convert the OnMouseMouse() x and y values into a country ValueIndex ? I can receive the OnMouseMouse() function but it only g...
by JPTP
Mon May 08, 2017 2:37 pm
Forum: ActiveX
Topic: Map Chart
Replies: 14
Views: 27548

Re: Map Chart

Yeray

Thanks. So to add a MarkTip Tool to the chart I need to us something like: TChart1.Tools.Add tcMarksTip

What is the value of the constant tcMarksTip ? Where do I find these in the help?

Thanks
by JPTP
Mon May 08, 2017 12:08 pm
Forum: ActiveX
Topic: Map Chart
Replies: 14
Views: 27548

Re: Map Chart

I'm sorry Yeray, but I dont see in the example how I set the text for any specific point (i.e. country) in the chart ? Sorry for being a newb ...
by JPTP
Mon May 08, 2017 11:41 am
Forum: ActiveX
Topic: Map Chart
Replies: 14
Views: 27548

Re: Map Chart

Hi Yeray

Thanks again. So how would I set the tooltip for a data point (i.e. a country) using a similar way as to PointColor()?

e.g. AX_TeeChartX.Series(ISeries).PointColor(ValueIndex) = RGB(255,123,32)

For example? Is it possible something similar for tooltip?
by JPTP
Mon May 08, 2017 9:27 am
Forum: ActiveX
Topic: Display a Country Value On Map Chart
Replies: 1
Views: 8338

Display a Country Value On Map Chart

Hello

(Newbie here)

I have a map chart on a window. When the user hovers the mouse over a country how I can display a value associated with that country?

Thank you
by JPTP
Mon May 08, 2017 8:17 am
Forum: ActiveX
Topic: Map Chart
Replies: 14
Views: 27548

Re: Map Chart

Hi Yeray Thanks for this. I have got your suggestion working. One problem I have with Steema Help Documentation is finding out what the properties and methods are for the various things. For example, you wrote in our reply: TChart1.Series(SeriesIndex).PointColor(ValueIndex) = vbRed Where can I find ...
by JPTP
Fri May 05, 2017 6:48 pm
Forum: ActiveX
Topic: Map Chart
Replies: 14
Views: 27548

Map Chart

Hi

TeeChart Newbie here :)

I have a Map Chart on a window. I can hover over countries and they outline. I can click on a country and receive the OnClickSeries event. How do I change the colour of the country I clicked on?

Using TeeChart 2016

TIA