1.2.1 • Published 4 years ago

filtered-sunburst-viewer v1.2.1

Weekly downloads
18
License
-
Repository
-
Last release
4 years ago

###Usage


<FilteredSunburst
:loading="loading"
:data="chartData"
>

--

export default {
  data () {
    return {
      loading : false,
      chartData: [
        {
        "id": 1,
        "date": "2020-07-20",
        "layers": [
                    {
                        "name": "Status",
                        "value": "Success",
                        "desc": "Indicates if the update succeeded."
                    },
                    {
                        "name": "Serial number",
                        "value": "01233",
                        "desc": "The serial number of the device."
                    },
                    {
                        "name": "Device type",
                        "value": "Graphic card",
                        "desc": "The type of the device, according to the list."
                    }
                ],
                
        },
        {
        "id": 2,
        "date": "2020-07-21",
        "layers": [
                    {
                        "name": "Status",
                        "value": "Failed",
                        "desc": "Indicates if the update succeeded."
                    },
                    {
                        "name": "Serial number",
                        "value": "01432",
                        "desc": "The serial number of the device."
                    },
                    {
                        "name": "Device type",
                        "value": "Motherboard",
                        "desc": "The type of the device, according to the list."
                    }
                ],
                
        },
        {
                "id": 3,
                "date": "2020-07-21",
                "layers": [
                            {
                                "name": "Status",
                                "value": "Failed",
                                "desc": "Indicates if the update succeeded."
                            },
                            {
                                "name": "Serial number",
                                "value": "014332",
                                "desc": "The serial number of the device."
                            },
                            {
                                "name": "Device type",
                                "value": "Motherboard",
                                "desc": "The type of the device, according to the list."
                            }
                        ],
                        
                }
      ],
    }
  }
}