The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Team,
We are using JSON theme for our Power BI reports and we came across one strange behaviour of Line Chart when it is implemented on that.
Y axis of Line chart showing value with decimal 2 digits (default) with JSON theme even those values are not overriding as well from properties section of Visualisation pane if we are setting manually.
We are using below mentioned code to implement JSON theme there. Could you please let us know if any workaround available to set values from JSON theme of any property which need to be change from Visualisation Pane.
"categoryAxis": [{
"show": true,
"axisType": "categorical",
"labelColor": { "solid": { "color": "#01B8AA"}},
"fontSize": 14,
"fontFamily": "Courier New",
"preferredCategoryWidth": 30,
"maxMarginFactor": 28,
"concatenateLabels": true,
"showAxisTitle": true,
"axisStyle": "showTitleOnly",
"titleColor": { "solid": { "color": "#01B8AA"}},
"titleText": "asdf",
"titleFontSize": 12,
"titleFontFamily": "Segoe UI"
}],
"valueAxis": [{
"show": true,
"position": "Right",
"axisScale": "Linear",
"labelColor": { "solid": { "color": "#01B8AA"}},
"fontSize": 14,
"fontFamily": "Courier New",
"labelDisplayUnits": "0",
"labelPrecision": "None",
"showAxisTitle": true,
"axisStyle": "showTitleOnly",
"color": { "solid": { "color": "01B8AA"}},
"titleText": "asdf",
"titleFontSize": 12,
"titleFontFamily": "Courier New",
"gridlineShow": true,
"gridlineColor": { "solid": { "color": "#01B8AA"}},
"gridlineThickness": 2,
"gridlineStyle": "dashed"
}],
"y2Axis": [{
"secStart": 0,
"secEnd": 2000,
"secFontSize": 16,
"secLabelColor": { "solid": { "color": "#0928DD"}},
"secShowAxisTitle": true,
"secTitleText": "Secondary Value Axis",
"secTitleColor": { "solid": { "color": "#448822"}}
}]
Thanks in Advance!!
Hi @Anonymous ,
You may take a look at the post below.
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.
Best regards,
Eyelyn Qin
User | Count |
---|---|
42 | |
16 | |
13 | |
11 | |
9 |
User | Count |
---|---|
51 | |
31 | |
22 | |
17 | |
15 |