View unanswered posts | View active topics It is currently Thu Apr 18, 2024 12:26 pm



Reply to topic  [ 5 posts ] 
Symbol for series 
Author Message
pChart user
pChart user

Joined: Thu Jan 13, 2011 1:49 pm
Posts: 4
Post Symbol for series
With pChart 1.27 it was possible to choose a .gif as a symbol for a series (example), will this be possible in 2.x? I've tried looking for it but I can't find anything about it in the documentation.


Thu Jan 13, 2011 2:43 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Thu Dec 02, 2010 2:31 pm
Posts: 409
Location: France
Post Re: Symbol for series
Support for this is already present in the core functions, only the rendering ones need to be finalized.

I'll add it to the todo of the next sub-release.

Are you using this function on your charts?

Kind regards,
JD.


Thu Jan 13, 2011 5:20 pm
Profile WWW
pChart user
pChart user

Joined: Thu Jan 13, 2011 1:49 pm
Posts: 4
Post Re: Symbol for series
Yes, I am using it. I have a chart which shows the current weather, it has both the measured outdoor temperature for the last 12 hours and the forcasted temperature for the coming 12 hours. I use the icons to show the forecasted weather.

A nice feature would be to set an icon for each point, at the moment I have to create 24 series and set the icon to each of them (since I don't know which will be the same). But it's not critical since I already have the code to do it this way.


Attachments:
forecast_58.png
forecast_58.png [ 30.64 KiB | Viewed 8765 times ]
Fri Jan 14, 2011 9:04 am
Profile
Site Admin
Site Admin
User avatar

Joined: Thu Dec 02, 2010 2:31 pm
Posts: 409
Location: France
Post Re: Symbol for series
Excellent example! I've made 3/4 of the implementation yet and I'll add a possibility to provide a pictures data serie that can be positionned easilly. This will avoid you (and the other person that would like to do the same) to create 24 fake series ;o)

Thank you very much for the idea!
JD.


Fri Jan 14, 2011 11:45 am
Profile WWW
Site Admin
Site Admin
User avatar

Joined: Thu Dec 02, 2010 2:31 pm
Posts: 409
Location: France
Post Re: Symbol for series
This feature is now implemented for the drawPlotChart() and drawLegend() functions. (2.0.13)

-> will work on the other topic now!

JD.


Attachments:
example_drawPlotChart_icon.png
example_drawPlotChart_icon.png [ 37.22 KiB | Viewed 8753 times ]
Sat Jan 15, 2011 8:18 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron