[
    {
        "name": "ECharts",
        "comment": "\n\n# Converter\n@docs toJsonString\n\n# Chart Types\n@docs ChartType\n\n# Chart Options\n@docs PieChartOption\n\n# Series\n@docs PieSeries\n\n# Option Attribute Types\n@docs Orientation\n",
        "unions": [
            {
                "name": "ChartType",
                "comment": " the chart type\n",
                "args": [],
                "cases": [
                    [
                        "PieChart",
                        [
                            "PieChartOption"
                        ]
                    ]
                ]
            },
            {
                "name": "Orientation",
                "comment": " describe the orientation attribute\n",
                "args": [],
                "cases": [
                    [
                        "Horizontal",
                        []
                    ],
                    [
                        "Vertical",
                        []
                    ]
                ]
            }
        ],
        "aliases": [
            {
                "name": "PieChartOption",
                "comment": " describe the chart option of pie chart\n",
                "args": [],
                "type": "{ title : { text : String, subtext : String, left : String }, tooltip : { formatter : String }, legend : { orient : Orientation, left : String, data : List String }, series : List PieSeries }"
            },
            {
                "name": "PieSeries",
                "comment": " describe the data series of pie chart\n",
                "args": [],
                "type": "{ name : String, radius : ( String, String ), center : ( String, String ), data : List { value : Float, name : String }, itemStyle : { emphasis : { shadowBlur : Int, shadowOffsetX : Int, shadowColor : String } } }"
            }
        ],
        "values": [
            {
                "name": "toJsonString",
                "comment": " convert the chart option to a string of json\n",
                "type": "ChartType -> String"
            }
        ],
        "binops": []
    }
]