pChart 2.x forum http://wiki.pchart.net/forum/ |
|
Show type of line on Legend http://wiki.pchart.net/forum/viewtopic.php?f=3&t=62 |
Page 1 of 1 |
Author: | Damaralbt [ Sat Jan 08, 2011 3:59 pm ] |
Post subject: | 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 |
Author: | jean-damien [ Sat Jan 08, 2011 5:26 pm ] |
Post subject: | 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. |
Author: | Damaralbt [ Sat Jan 08, 2011 11:05 pm ] |
Post subject: | Re: Show type of line on Legend |
Tks Jean! Its will be very helpfull! |
Author: | jean-damien [ Mon Jan 10, 2011 10:31 am ] | ||
Post subject: | Re: Show type of line on Legend | ||
Here you are : drawScale() I've added different legend families : LEGEND_FAMILY_BOX LEGEND_FAMILY_CIRCLE LEGEND_FAMILY_LINE You'll have it in the next sub release. JD.
|
Author: | SandmanXC [ Mon Jan 10, 2011 3:02 pm ] |
Post subject: | Re: Show type of line on Legend |
Is there a way to make the rectangles or circles bigger? |
Author: | jean-damien [ Mon Jan 10, 2011 3:17 pm ] |
Post subject: | Re: Show type of line on Legend |
Sure ;o) The BoxWidth and BoxHeight parameters are here for this! |
Author: | Guest [ Mon Jan 10, 2011 6:40 pm ] |
Post subject: | 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. |
Author: | mice32 [ Mon Jan 10, 2011 8:10 pm ] |
Post subject: | Re: Show type of line on Legend |
Maybe you've downloaded tar.gz or have used Firefox. |
Author: | Guest [ Mon Jan 10, 2011 9:13 pm ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |