react-chartjs icon indicating copy to clipboard operation
react-chartjs copied to clipboard

Plotting a threshold line on top of a bar chart

Open adrianmcli opened this issue 9 years ago • 2 comments

Is it possible to use this library to make a chart similar to this:

bar chart with threshold line

Additionally, can I colour the bars differently depending on whether or not they are above the threshold line?

adrianmcli avatar Jul 12 '16 17:07 adrianmcli

Refer to http://www.chartjs.org/docs/

This project is little else than a wrapper for charts.js. Be aware of version diffrences in charts.js, the master barnch of this project only supports v1.1.1, but the v2-branch (see #84) should cover v2.x thats in the docs linked above.

hptk avatar Jul 13 '16 10:07 hptk

@hptk thanks for the reply. I had a look at some of the stuff on the chartjs repo and there seems to be some promising plugin for what I need. I'll close this comment and report what I find once I am done with my investigation.

adrianmcli avatar Jul 13 '16 10:07 adrianmcli