gizak / termui

Golang terminal dashboard
MIT License
13.23k stars 786 forks source link

Plot: minimum value of Y-axis is configurable #259

Open iamquang95 opened 4 years ago

iamquang95 commented 4 years ago

Now we can set minimum value for Y-axis while plotting the line chart. The Y-axis is no longer required to show value from 0 to maxValue.

AlexMeuer commented 3 years ago

What needs to be done to get this accepted and merged (and is there anything I can do to help it along)? I'm currently using these changes by go.mod replacement, but it'd be nice to not have to do that.

georlav commented 2 years ago

Hey @iamquang95 that's a good improvement but looks like those changes affect only the labels of Y-axis, the end result of the graph is exactly the same, someone would also expect that the min value would affect the scale of the graph but it isn't.