Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 2136

Bullet Chart Question

$
0
0

Hi All,

 

I have a bullet chart below that works fine.

 

I want to access the below Actual property and change the VALUE and COLOR  DYNAMICALLY via javascript. How do i do it ?

 

actual: { value: 120, color: sap.suite.ui.commons.InfoTileValueColor.Neutral}

r.Neutral},

 

Bullet Chart Code:

 

 var oBLL3 = new sap.suite.ui.commons.BulletChart("BLL3", {         size: sap.suite.ui.commons.InfoTileSize.L,          width: "200px",         scale: " Hours",            actual: { value: 120, color: sap.suite.ui.commons.InfoTileValueColor.Neutral},          // forecastValue: 110,            targetValue: 100,  thresholds:                            [            { value: 0, color: sap.suite.ui.commons.InfoTileValueColor.Neutral },    { value: 50, color: sap.suite.ui.commons.InfoTileValueColor.Neutral },    { value: 100, color: sap.suite.ui.commons.InfoTileValueColor.Neutral },    { value: 150, color: sap.suite.ui.commons.InfoTileValueColor.Neutral }                  ]         ,         minValue: "",         maxValue: "",    showActualValue: true,    showTargetValue: true,    //showDeltaValue: true,    showValueMarker: true,    mode: sap.suite.ui.commons.BulletChartMode.Actual,        // actualValueLabel: "{/actualValueLabel}",       //  deltaValueLabel: "{/deltaValueLabel}",       //  targetValueLabel: "{/targetValueLabel}",         //press: fnPress,        // tooltip: "{/tooltip}",         scaleColor: sap.suite.ui.commons.CommonBackground.MediumLight    });

Thank you.


Viewing all articles
Browse latest Browse all 2136

Trending Articles



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