filtered-sunburst-viewer

1.2.1 • Public • Published

###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."
                            }
                        ],
                        
                }
      ],
    }
  }
}

Dependents (0)

Package Sidebar

Install

npm i filtered-sunburst-viewer

Weekly Downloads

0

Version

1.2.1

License

none

Unpacked Size

6.57 MB

Total Files

26

Last publish

Collaborators

  • xameyz