|
|
|
|
Page 1 of 1
|
[ 9 posts ] |
|
Show type of line on Legend
Author |
Message |
Damaralbt
|
Show type of line on Legend
Hi all!
On my site I have a lot of graphics, and i get some users that have daltonism. Is a little hard to find collors that they can see without problems to differentiate the lines on graphics with more than 3/4 lines.
The solution is use diferent type of lines, but for it works on this case, the legend need to show it too.
Is ti possible to realse something like it?
Example:
Legend - - - Line 1 ____ Line 2 . . . Line 3
Tks
|
Sat Jan 08, 2011 3:59 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Show type of line on Legend
Hi, This is an excellent idea! I'll add an extra option to the drawLegend() function to specify the way we want to display the serie icon (box, line [with style], icon,...) --This will be implemented in the 2.0.12. Kind regards, JD.
|
Sat Jan 08, 2011 5:26 pm |
|
|
Damaralbt
|
Re: Show type of line on Legend
Tks Jean!
Its will be very helpfull!
|
Sat Jan 08, 2011 11:05 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Show type of line on Legend
Here you are : drawScale()I've added different legend families : LEGEND_FAMILY_BOXLEGEND_FAMILY_CIRCLELEGEND_FAMILY_LINEYou'll have it in the next sub release. JD.
Attachments:
drawlegend.png [ 15.85 KiB | Viewed 13506 times ]
|
Mon Jan 10, 2011 10:31 am |
|
|
SandmanXC
Regular pChart user
Joined: Thu Jan 06, 2011 1:51 pm Posts: 11
|
Re: Show type of line on Legend
Is there a way to make the rectangles or circles bigger?
|
Mon Jan 10, 2011 3:02 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Show type of line on Legend
Sure ;o)
The BoxWidth and BoxHeight parameters are here for this!
|
Mon Jan 10, 2011 3:17 pm |
|
|
Guest
|
Re: Show type of line on Legend
Ow!
Tks Jean!
To be perfect, maybe you can add a point line (....). To help daltonism users will be great.
setSeriePoints($Serie,$Width);
LEGEND_FAMILY_LINE : points.
When you have time!
PS: I got erros on unzip release 2.0.12. Forcing unzip, i got new archive without extension, renaming to zip, i could unzip and finally get archives.
|
Mon Jan 10, 2011 6:40 pm |
|
|
mice32
Experienced pChart user
Joined: Thu Dec 02, 2010 3:03 pm Posts: 36 Location: Somerville, MA, USA
|
Re: Show type of line on Legend
Maybe you've downloaded tar.gz or have used Firefox.
_________________
|
Mon Jan 10, 2011 8:10 pm |
|
|
Guest
|
Re: Show type of line on Legend
Nops I´m using IE
Winzip cannot unzip it, with winrar, i got the new archice withou extension.
|
Mon Jan 10, 2011 9:13 pm |
|
|
|
Page 1 of 1
|
[ 9 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 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
|
|
|
|