|
|
Page 1 of 1
|
[ 10 posts ] |
|
Author |
Message |
McTrex
New pChart user
Joined: Mon Jan 03, 2011 9:50 pm Posts: 3
|
Feature requests
Hi Jean-Damien, First of all a BIG thank you for building this fantastic class. I've been using Zack Bloom's Advanced Graphing class, but since I've discovered your class about a month ago I'm converting my website to your class. It's very smooth and powerfull. I've added/seconded three wishes to the wishlist: - Support for a stock plot type of graph like: http://jpgraph.net/features/gallery.php#stock1- Support for diagonal labels to prevent the labels from making the graph invisible - A request for the pGeo class, which looks awesome. I'd love to be able to use it! Thanks a lot! Marco
|
Mon Jan 03, 2011 10:12 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Feature requests
Hi Marco, Thank you for your feedback! Features requests are greatly appreciated and helps to determine in which direction this library should go. I have a few dezign question regarding your whishes, maybe you and other community users can bounce on it : Stock ChartsIn which way shall we present the data to the class? In a single data series, in a format like : Code: $myData->addPoints(array(open1,close1,min1,max1)); $myData->addPoints(array(open2,close2,min2,max2)); $myData->addPoints(array(open3,close3,min3,max3)); $myData->addPoints(array(open4,close4,min4,max4));
or in 4 separates data series like : Code: $myData->addPoints(array(open1,open2,open3,open4),"Open"); $myData->addPoints(array(close1,close2,close3,close4),"Close"); $myData->addPoints(array(min1,min2,min3,min4),"Min"); $myData->addPoints(array(max1,max2,max3,max4),"Max");
if we go for the second option, we can keep the current scaling algorithm. Diagonal labelsI don't really catch what we're speaking here. I plan to add a "collision" detection system for data series labels that would avoid two labels to overlap. pGeo classThis topic will be discussed in a near future ;o) Kind regards, JD.
|
Tue Jan 04, 2011 3:49 pm |
|
|
mice32
Experienced pChart user
Joined: Thu Dec 02, 2010 3:03 pm Posts: 36 Location: Somerville, MA, USA
|
Re: Feature requests
I think, this one is the best: Code: $myData->addPoints(array(open1,open2,open3,open4),"Open"); $myData->addPoints(array(close1,close2,close3,close4),"Close"); $myData->addPoints(array(min1,min2,min3,min4),"Min"); $myData->addPoints(array(max1,max2,max3,max4),"Max");
_________________
|
Tue Jan 04, 2011 4:21 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Feature requests
pStock extension written, it currently accept the following tweaking options : Code: $BorderR $BorderG $BorderB $BorderAlpha $Surrounding $SerieOpen $SerieClose $SerieMin $SerieMax $LineWidth $LineR $LineG $LineB $LineAlpha $ExtremityWidth $ExtremityLength $ExtremityR $ExtremityG $ExtremityB $ExtremityAlpha $BoxWidth $BoxUpR $BoxUpG $BoxUpB $BoxUpAlpha $BoxUpSurrounding $BoxUpBorderR $BoxUpBorderG $BoxUpBorderB $BoxUpBorderAlpha $BoxDownR $BoxDownG $BoxDownB $BoxDownAlpha $BoxDownSurrounding $BoxDownBorderR $BoxDownBorderG $BoxDownBorderB $BoxDownBorderAlpha
Attachments:
example.drawStockChart.png [ 27.44 KiB | Viewed 14285 times ]
|
Wed Jan 05, 2011 11:35 am |
|
|
McTrex
New pChart user
Joined: Mon Jan 03, 2011 9:50 pm Posts: 3
|
Re: Feature requests
Wow, I didn't expect you would react so fast The stock graph looks great, exactly what I need! Both ways of presenting the data work fine for me, I'll just adjust my code to whichever way works best for you. For the diagonal labels I probably mean the same as what you refer to as a collision detection system. See the attached picture for what I meant, in the middle there are several labels overlapping each other and the graph. If they could be rotated away from each other in some way it would greatly enhance the readability of the graph and labels. Thanks for the great work! McTrex
Attachments:
example.png [ 77.11 KiB | Viewed 14282 times ]
|
Wed Jan 05, 2011 12:44 pm |
|
|
jean-damien
Site Admin
Joined: Thu Dec 02, 2010 2:31 pm Posts: 409 Location: France
|
Re: Feature requests
The new class is documented here : http://wiki.pchart.net/doc.stocks.drawstockchart.html. I have another extension to write before releasing the 2.0.11. Let's also see what we can do with the labels topic! JD.
|
Wed Jan 05, 2011 1:43 pm |
|
|
Guest
|
Re: Feature requests
Hi Guys, I'm not sure if this is a feature request or not, but I figured I'd throw it out here. I'm trying to construct a "balloon" type graph (similar to http://jpgraph.net/features/gallery.php balloon plot). I've considered the drawPlot() method, but I don't think I can make different sized markers for points on the same plot. I also considered using drawCircle, but couldn't think of a good way of computing the vertical coordinates for the shape. Any advice would be appreciated! Thanks!
|
Tue Jan 11, 2011 1:35 am |
|
|
Guest
|
Re: Feature requests
jean-damien wrote: (...) Let's also see what we can do with the labels topic!
JD. Hello and Thanks for this great php chart library. I vote also for labels enhancement since I'm getting some similar problems. I know that I'm using pchart1.x but I'm currently migrating to pChart2.x even if I will get same issue for labels As you can see on the following pic, I'm generating scuba dive profiles and labels seems not to be a solution for me. So if there is a possibility to get something like collision detection or fixing labels position, it can be a great enhancement for me :-p By the way, it's already amazing what can I do easily with your library, thanks for all.
|
Tue Jan 11, 2011 2:52 am |
|
|
Guest
|
Re: Feature requests
Guest wrote: Hi Guys, I'm not sure if this is a feature request or not, but I figured I'd throw it out here. I'm trying to construct a "balloon" type graph (similar to http://jpgraph.net/features/gallery.php balloon plot). I've considered the drawPlot() method, but I don't think I can make different sized markers for points on the same plot. I also considered using drawCircle, but couldn't think of a good way of computing the vertical coordinates for the shape. Any advice would be appreciated! Thanks! check out http://wiki.pchart.net/doc.bubble.drawbubblechart.html
|
Thu Jan 13, 2011 12:19 am |
|
|
mice32
Experienced pChart user
Joined: Thu Dec 02, 2010 3:03 pm Posts: 36 Location: Somerville, MA, USA
|
Re: Feature requests
Well, BubbleChart feature is not released yet.
_________________
|
Thu Jan 13, 2011 12:23 am |
|
|
|
Page 1 of 1
|
[ 10 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 5 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
|
|
|