Mega Search
23.2 Million


Sign Up

Make a donation  
Does TeeChart for PHP do client-side image maps?  
News Group: embarcadero.public.delphi.reporting-charting

I'm looking for a replacement for JpGraph, since it is no longer supported. Does TeeChart for PHP do client-side image maps? Here is an example:

http://www.ratingscentral.com/HistoryGraph.php?PlayerID=61708

You can mouse over the points, see text associated with the point, and click on the point to go to another webpage.

If TeeChart can't do this, I would appreciate suggestions of other packages that can produce such a graph.

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 23-Sep-2014, at 7:55 AM EST
From: David Marcus
 
Re: Does TeeChart for PHP do client-side image maps?  
News Group: embarcadero.public.delphi.reporting-charting
Hi David,

> {quote:title=David Marcus wrote:}{quote}
> Thank you. What do the "if lt IE 9" lines do?

It activates excanvas when the browser is IE<9 to make HTML5 to work on these browsers.
--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in [url=http://twitter.com/SteemaSoftware]Twitter[/url] and [url=https://www.facebook.com/SteemaSoftware]Facebook[/url]

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 25-Sep-2014, at 5:13 AM EST
From: Yeray Alonso
 
Re: Does TeeChart for PHP do client-side image maps?  
News Group: embarcadero.public.delphi.reporting-charting
Thank you. What do the "if lt IE 9" lines do?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 25-Sep-2014, at 4:34 AM EST
From: David Marcus
 
Re: Does TeeChart for PHP do client-side image maps? [Edit]  
News Group: embarcadero.public.delphi.reporting-charting
Hi David,

> {quote:title=David Marcus wrote:}{quote}
> JpGraph isn't generating JavaScript. It is generating HTML:
> 
> 
> 497±74 9/12/2010 TTTV 10/11 LK1
> 457±64 9/26/2010 TTTV MM 10/11 U13HVR
> 412±49 10/9/2010 TTTV MM 10/11 U15K
> ...
> Rating History
> 
> I'm not wedded to HTML. Can TeeChart HTML5/JavaScript produce a similar graph to what I have now?

The code to produce a chart similar to [url=http://www.ratingscentral.com/HistoryGraph.php?PlayerID=61708]this[/url] with TeeChart HTML/Javascript would of course be different than what you posted above.
An example of the series onClick usage with TeeChart HTML/Javascript can be found in the [url=http://www.steema.com/files/public/teechart/html5/v2012.12.14.1.4/demos/]full reference demo[/url] mentioned above. Concretely, you can directly open the [url=http://www.steema.com/files/public/teechart/html5/v2012.12.14.1.4/demos/series/seriesonclick.htm]series onClick example[/url] and see the code of the page. In your case, you just should show the line pen with drawLine=true and open the page you wish at onCl
ick event. Ie:

{code}



TeeChart JavaScript Line Series Example with onClick event and toolTips














This browser does not seem to support HTML5 Canvas.
{code} -- Best Regards Yeray Alonso Steema Support Central Follow us in [url=http://twitter.com/SteemaSoftware]Twitter[/url] and [url=https://www.facebook.com/SteemaSoftware]Facebook[/url] "Important note: If you are a TeeChart registered customer, please post your support questions at Steema's Support monitored Forums for a prompter reply." http://support.steema.com
Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 25-Sep-2014, at 2:38 AM EST
From: Yeray Alonso
 
Re: Does TeeChart for PHP do client-side image maps?  
News Group: embarcadero.public.delphi.reporting-charting
> {quote:title=Yeray Alonso wrote:}{quote}
> TeeChart for PHP generates the charts serverside so I'm afraid it doesn't support clientside interactivity.

Yeray,

JpGraph isn't generating JavaScript. It is generating HTML:


497±74 9/12/2010 TTTV 10/11 LK1
457±64 9/26/2010 TTTV MM 10/11 U13HVR
412±49 10/9/2010 TTTV MM 10/11 U15K
....
Rating History

I'm not wedded to HTML. Can TeeChart HTML5/JavaScript produce a similar graph to what I have now?

David

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 24-Sep-2014, at 5:03 AM EST
From: David Marcus
 
Re: Does TeeChart for PHP do client-side image maps? [Edit]  
News Group: embarcadero.public.delphi.reporting-charting
Hello David,

> {quote:title=David Marcus wrote:}{quote}
> I'm looking for a replacement for JpGraph, since it is no longer supported. Does TeeChart for PHP do client-side image maps? Here is an example:
> 
> http://www.ratingscentral.com/HistoryGraph.php?PlayerID=61708
> 
> You can mouse over the points, see text associated with the point, and click on the point to go to another webpage.
> 
> If TeeChart can't do this, I would appreciate suggestions of other packages that can produce such a graph.

TeeChart for PHP generates the charts serverside so I'm afraid it doesn't support clientside interactivity.
However, between the other TeeChart versions supporting different levels of interactivity on web applications, let me highlight TeeChart HTML5/JavaScript: This is our newest TeeChart version, fully written in javascript and supporting full interactivity. I'd suggest you to see the demos [url=http://www.steema.com/files/public/teechart/html5/introdemo/demos/intro/index.html]here[/url]  and [url=http://www.steema.com/files/public/teechart/html5/v2012.12.14.1.4/demos/]here[/url].
--
Best Regards

Yeray Alonso
Steema Support Central
Follow us in [url=http://twitter.com/SteemaSoftware]Twitter[/url] and [url=https://www.facebook.com/SteemaSoftware]Facebook[/url]

"Important note: If you are a TeeChart registered customer,
please post your support questions at Steema's Support
monitored Forums for a prompter reply."
http://support.steema.com

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 24-Sep-2014, at 1:09 AM EST
From: Yeray Alonso