Repository navigation
Native stepped lines for charts (step-before / step-after) #2877
Unanswered
ahosker
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Suggestion
Could Flux charts support stepped lines alongside straight and smooth lines?
Some values, such as interest rates or prices, stay constant until they change. A stepped line represents this more accurately than a sloping or smooth line.
For example, a possible API could be:
Support for
step-beforeandstep-afterwould be great.Temporary workaround
We currently use a small JavaScript adapter to draw a stepped SVG line over the Flux chart and keep it aligned when the chart updates or resizes. It works, but native support would let us remove that extra code.
Would you consider adding this? Thanks!
All reactions