Closed osteenbergen closed 2 years ago
Hey thanks! I appreciate the feature! Will look into the PR soon.
Precisely what I need, would love for this to be included.
@gionkunz Any chance of this getting a code review?
Used this plugin mod for one of my project - it saved a lot of time for me! @osteenbergen, thank you very much!
One note. When several charts initialised with different thresholds, you have to manually set uniqe mask names for each chart!
Do you have some example code for this? I'm struggling to set up multiple thresholds and style each differently, I only have ct-threshold-below and ct-threshold-above to work with?
Depending on the prefixThreshold
setting you have area-<index>
available.
option.thresholds = [75, 50, 25]
.ct-point {
stroke-width: 5px;
}
.ct-point.ct-threshold-above {
stroke: green;
}
.ct-point.ct-threshold-area-0 {
stroke: yellow;
}
.ct-point.ct-threshold-area-1 {
stroke: orange;
}
.ct-point.ct-threshold-below {
stroke: red;
}
@gionkunz Its been a year, any luck on merging this PR? Do you require improvements?
great stuff! Seems quite a lot of the chartist repo's are not being maintained
Closing this PR as this project is not maintained....