Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric Ideas just got better! New features, better search, and direct team engagement. Learn more

JSON Theme Preset Support for Series

Hi Community, as mentioned in this post, the idea is to have access to the opportunities to create presets in a JSON theme for series as well. This would provide users the option to name series and have them styled automatically. Imagine you'd have an AC / PL series in your charts and with the click of a Preset it will be styled according to IBCS rules.

This would also leverage options to share partial and useful JSON snippets across the community and make data-viz-best-practises more accessible.

 

I would imagine to have two options for styling series:

* named series

* numbered series

 

In a named series the references would be accessed with a $id-property e.g.

 

"$id": "AC", [...],
"$id": "PL", [...]

 

In a numbered series the 1. series would always be styled according to the JSON and up to N different elements could be styled through the JSON theme, e.g.

 

  "dataPoint": [
                    { // 1. Series-Item
                        "fill": {
                            "solid": {
                                "color": "#000000"
                            }
                        }
                    },
                    { // 2. Series-Item
                        "fillTransparency": 90,
                        "borderColorMatchFill": true,
                        "borderTransparency": 60,
                        "fill": {
                            "solid": {
                                "color": "#000000"
                            }
                        }
                    }
                ]

 

Thank you,
Konstantin

Status: New