sanjay
sanjay

Reputation: 3

Trying to achieve two different colors for single data series

Hi I am working on flot bar graphs and new to this where it has only one data series,According to FLOT Documentation we can only provide one color to a data series, What I am trying to achieve is to try to change the whole bars to a different color if it crosses certain value.

Upvotes: 0

Views: 80

Answers (1)

Raidri
Raidri

Reputation: 17550

You can use the Threshold Plugin for that (which basically splits the data series into two series with different colors).

Example / Example Code / Plugin Code and Description

Upvotes: 1

Related Questions