Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2161

Re: How to set the red color for Negative values in a Column Chart using the VizFrame

$
0
0

Yes, you can define own colors, even conditionally with dataPointStyle rules:

 

var oRule = function (oContext) {     //your rule which has to return true to apply the color
}
oVizFrame.setVizProperties({     plotArea : {          dataPointStyle : {               rules : [ {                    callback : oRule,                    properties : {                         color : "red"                    },                    displayName : "customName"               } ]          }     }
});     }
});

Hope this helps.


Viewing all articles
Browse latest Browse all 2161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>