Forum Discussion
jlizzul
2 years agoNew Member
json cfg for ribbon chart
Hi everybody, i'm trying to setup a json file for my graphic charter. It seems that configuration for y axis doesn't work on ribben chart. Here is my code : "categoryAxis": [
...
dm-p
Super User
2 years agoHi jlizzul.,
MS publishes the JSON schema for themes in their GitHub repository. You can use this to refer to all properties if you're looking for them. For the y-axis on the ribbon chart, the key you need is "valueAxis". You can use this rule for any of the core cartesian charts (including scatter plot).
If you want a less technical way, the theme generator by PowerBI.tips lets you configure properties using a set of graphical controls and export the JSON file, which is also an easier way to learn the schema. There is also a fairly cheap subscription option that lets you save your themes to an account and preview them using sample charts hosted in Power BI Embedded.
Regards,
Daniel