GitHub user hmendezm created a discussion: customize Echarts e.g fontsize fro 
Xaxis and Yaxis

Hi Guys, SuperSets is new to me. I'm working on a POC for my company. I am 
customizing the chart so it can follow design standards, such as font size and 
color, bar colors (conditional).  I modified the JSON metadata, as you can see 
below, but it is not working. The echarts bar  is not changed. Can you help me 
with this?  Do you have an example of how to do this?

{
  "chart_configuration": {
    "311": {
      "id": 311,
      "crossFilters": {"scope": "global", "chartsInScope": [313, 315]},
      **"echarts_props": {
        "xAxis": {"axisLabel": {"fontSize": 9, "color": "#333"}},
        "yAxis": {"axisLabel": {"fontSize": 9, "color": "#333"}}
      }**
    },
    "313": {
      "id": 313,
      "crossFilters": {"scope": "global", "chartsInScope": [311, 315]}
    }
  },
  "global_chart_configuration": {
    "scope": {"rootPath": ["ROOT_ID"], "excluded": []},
    "chartsInScope": [311, 313, 315]
  },
  "color_scheme": "supersetColors",
  "refresh_frequency": 0,
  "expanded_slices": {},
  "label_colors": {"All Others": "#C7C8CA"},
  "timed_refresh_immune_slices": [],
  "cross_filters_enabled": true,
  "default_filters": "{}"
}

GitHub link: https://github.com/apache/superset/discussions/35775

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to