I have a metric in Canvas that can have a value from 0 to 100. I would like to have a color gradient from red to green depending on the value, i.e. red if it's 0, green if it's 100 or a shade of red or green depending of the value when it's in between. Is this even possible, if it is, any example or hint on how to do it?
@Mike_CC in general, we're planning to add data driven CSS in the future, although it's a common interest not to rely on CSS styling of elements as underlying chart etc. implementations and their DOM structure may change in future versions, and we try to cover common functionality through exposed properties, not CSS. So as @Brandon_Kobel suggested, it's best to open a feature request.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.