BEMSimpleLineGraph icon indicating copy to clipboard operation
BEMSimpleLineGraph copied to clipboard

Different line color over threshold

Open clementappsolute opened this issue 10 years ago • 4 comments

Hello,

Is it possible to change the line's color if, let's say that the line crosses a upper and lower limit?

Thanks

clementappsolute avatar Dec 31 '15 14:12 clementappsolute

Hi @clementappsolute, having a threshold value to change the line color is currently not supported by BEMSimpleLineGraph. Let me know if you would like to contribute to the library to add this feature!

Boris-Em avatar Jan 03 '16 18:01 Boris-Em

Hey @Boris-Em, I'd actually like to implement, can you hit me up at clement [the at symbol] appsolute [dot] fr to talk about the implementation? Thanks

clementappsolute avatar Jan 08 '16 09:01 clementappsolute

@Boris-Em @clementappsolute Hey was this ever implemented? This would be an excellent addition!

nate50 avatar Aug 14 '16 21:08 nate50

@clementappsolute it's simple and i had done similar like that by sampling average line coding... img_0874

and you can add custom view to highlight when values breach the level... :)

suu10mac avatar Feb 16 '17 11:02 suu10mac