-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When using this plugin with bar-graphs (bars: { show: true }), then the whole bar is drawn with top color.
For example, lets say I have the following constraints:
constraints: [ {
threshold: 3.0,
color: "#4f4fff",
evaluate: function(y, thres) { return (y <= thres); }
}, {
threshold: 5.0,
color: "#ff7f00",
evaluate: function(y, thres) { return (y <= thres); }
}, {
threshold: 5.0,
color: "#ff0000",
evaluate: function(y, thres) { return (y > thres); }
} ],
Everything lower or equal to 3.0 is displayed in a blueish color, everything between 3.0 and 5.0 is orange, and above 5.0 is red. Works for line graphs. But if I have a bar graph then all bars above 5 will be all red, and bars between 3 and 5 will be all orange.
Metadata
Metadata
Assignees
Labels
No labels