on ‎2016 Oct 26 1:20 PM
HI experts,
Need help on color coding for Colum combination chart.
I have Jan to dec in X-axis. and i have yearmonth variable
whenever user selected in variable color should change dynamically for example if he selected May 2015 .so till Apr 2015 bars should be black and remaining bars should be in blue
black bar-Actual
blue bar-Target
Please find the image
I Have tried by capturing variable and apply css.but no luck and i reffered blogs as well but not full filled my requirement
any help would really appreciated.
https://blogs.sap.com/2014/09/19/learn-about-arrays-in-design-studio-13/
https://archive.sap.com/discussions/thread/3759486
https://archive.sap.com/discussions/thread/3701365
var month = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var a = PAPLS_OVERVIEW.getVariableValueText("PA_V_A_MM_YYYY");
var monthNum = Convert.stringToInt(a.substring(0,3));
CSS:
COL1 g.v-m-main g.v-m-plot g.v-column:nth-child(1) .v-datapoint.v-morphable-datapoint {fill: red!important; stroke: #E20015;}

Request clarification before answering.
The closest, easiest way is to check page 73 of this document: https://visualbi.com/wp-content/uploads/visualbi-extensions-for-sap-businessobjects-design-studio-vb... - not sure if it meets your requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.