6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/6/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2336] Impossible/difficult to set a min value on Plots
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__ . ..__ | || |[ __\ /[__) |/\||__|[_./ \/ |
Comment
> It seems impossible to set a minimum value on Plots, ie the Y axis > always starts at 0. It is possible to set minY using the set() > function or using _findRange, however these are overwritten when > calling draw() (or display()) since draw() calls initialize() which > re-calculate these so I can't see a way to change it persistently. > > > > I propose an update as per the attached diff. It works by sending > additional parameters to draw(), minY is the value to be used for the > "bottom" of the chart, stepLabelsY is the step between the lines in > the grid. No error checking is done, this means that some parts of > the line can be below the chart area, this should probably be taken > care of (deleting that part of the line?). > > > > The attached diff is agains the Chart.php found in Horde 3.0.4. It is > tested and it seems to work with the existing plot types.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers