chartist-plugin-threshold icon indicating copy to clipboard operation
chartist-plugin-threshold copied to clipboard

Multiple thresholds

Open nynsen opened this issue 9 years ago • 10 comments

What about the ability to manage multiple thresholds values?

nynsen avatar Nov 05 '15 11:11 nynsen

+1 I'm pretty noob at this, but I'll give it a try

prashcr avatar Dec 29 '15 04:12 prashcr

I'm in need a multiple thresholds as well.

lukelarsen avatar Feb 02 '16 18:02 lukelarsen

Any updates on this?

barryvdh avatar Mar 06 '16 17:03 barryvdh

No sorry, If no PR's coming for this, I'll have time after April at the earliest. Sorry

gionkunz avatar Mar 07 '16 11:03 gionkunz

I fully support the feature though

gionkunz avatar Mar 07 '16 11:03 gionkunz

@Xscratch @prashcr @lukelarsen @barryvdh

Not sure if by multiple threshold values we are referring to the same thing, but I've submitted a pull request that allows you to define a variable threshold line. Take a look and see if it fits your needs.

https://github.com/mezzi/chartist-plugin-threshold/tree/dynamic-threshold

mezzi avatar Apr 12 '16 00:04 mezzi

@mezzi

Thank you for the effort, at the following link you can see a working example of what I am trying to accomplish. http://www.amcharts.com/tips/using-multiple-value-thresholds-to-color-line-graph/

As you can see there are 2 thresholds, so the graph is divided in 3 sections with 3 different colors.

nynsen avatar Apr 12 '16 07:04 nynsen

@Xscratch Ah ok, I see.

mezzi avatar Apr 12 '16 18:04 mezzi

Any updates on this?

adifaidz avatar Feb 03 '17 05:02 adifaidz

I decided to give it a try, and I'm able to get the points working. However, I haven't figured out how to do lines/area yet.

https://codepen.io/prashcr/pen/kkBBao

prashcr avatar Feb 09 '17 17:02 prashcr