Donate Share

PHPLOT

Tracker: Feature Requests

5 Horizontal bars - ID: 2885930
Last Update: Comment added ( lbayuk )

By a brief look, horizontal bars are missing from PHPlot (do they?)
They are necessary especially in the case where many bars cannot fit well
on the X-axis.
In this case, which is not infrequent, PHPlot cannot be used
(unless the site designer can leave with the ugly browser horizontal scroll
bar).


Kazantz ( kazantz ) - 2009-10-25 14:16

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2009-12-20 02:42
Sender: lbayukProject Admin

This has come up a number of times on the forum, and there was a feature
request from 2001 (long before I was here). So it's probably time to
comment.

There are two problems with this. First, it would be very hard to
implement, because it breaks just about every assumption in PHPlot.
Assuming you would want to run the Y axis horizontally, X vertically, then
plot area/margin calculations, title positions, grid, labels, etc. would
all need to be recoded for this. If instead you want horizontal bars to run
parallel to X, I don't know what the data array would look like for this.

The second problem I have is that there is an implicit assumption when
graphical data is presented that the independent variable goes along the
horizontal axis, and the dependent variable is plotted along the vertical
axis. A horizontal bar graph may look nice and fit on a page well, but in
my opinion it is a very unconventional way to present your data.

Regardless, I'm leaving this feature request open, in case anyone wants to
add comments. The Help/Discussion forum is also available for this.


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.