Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Need a step-before and step-after interpolation for line charts - like in Chartist (see description)

Open startsevsa opened this issue 10 years ago • 6 comments

image

Chartist examples page: https://gionkunz.github.io/chartist-js/examples.html

startsevsa avatar Aug 18 '16 12:08 startsevsa

Any progress on this issue?

ThiagoAlmeidaSiqueira avatar Dec 08 '16 19:12 ThiagoAlmeidaSiqueira

@ThiagoAlmeidaSiqueira nothing has been done on this. I'm open to looking at PRs for it

etimberg avatar Dec 08 '16 23:12 etimberg

Please implement this. I'm also looking for that.

coreGreenberet avatar Feb 25 '17 20:02 coreGreenberet

In the docs I found property "steppedLine" which does the trick. Apparently it has been there since 2.2.0 . If you use older version, you need to update it. Therefore, this issue should be closed.

vecernik87 avatar Mar 01 '17 11:03 vecernik87

@etimberg I've added a PR that allows you to set steppedLine to 'before'/'after' with true defaulting to 'before' behavior.

ericnkatz avatar Mar 23 '17 16:03 ericnkatz

Completed in #4065

etimberg avatar Apr 16 '17 20:04 etimberg