Closed benloh closed 1 year ago
requested review from @jdanish
@jdanish I think this works, but we can keep it on a separate branch for now in case it doesn't. Note that you'll have to remove the axis labels you inserted in the blueprints.
added 1 commit
marked this merge request as draft
added 1 commit
In GitLab by @jdanish on Oct 2, 2022, 06:01
I'm using this and it seems good. Also note I committed updated help with the min / max x and y values.
marked this merge request as ready
mentioned in commit fe8f33dd5b7dcb5ed066221082418c9fc29dc188
marked the checklist item When merging, add to Graphing wiki documentation as completed
Merges dev-bl/graph-minmax -> dev-next
This adds a few features to the Graphing feature line graph widget.
To Use
To set the graph minimum and maximum values, use the Graphing feature props
graphMin
andgraphMax
. e.g....will generate a graph with a maximum of 100, and a point starting at 50.
If
graphMinY
orgraphMaxY
are not set, the system will automatically fit the graph values onto the graph, calculating the bounds dynamically.NOTES:
graphProp
is set toeneryLevel
, do aprop energyLevel setMax 100
to make sure any attempt to setenergyLevel
above 100 will be clipped to 100. e.g.TO DO
[x] When merging, add to Graphing wiki documentation
Graphs no longer start at 0,0 and instead start with the first value position.
X minimum and maximum values have not been fully tested, since currently line graphs are primarily used for time-based graphs.
X axis labels have not been implemented.