We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Missing the diagram-data in diagram example

3 Replies

RT Ramya Thirugnanam Syncfusion Team June 6, 2019 06:37 AM UTC

Hi Thin do,  
 
Thanks for contacting Syncfusion support. 
 
We have provided an JSON data source to render the local data sample in the below code example.  
 
Code example:  
 
let species = [  
        {  
            "Name": "Species",  
            "fillColor": "#3DD94A"  
        },  
        {  
            "Name": "Plants",  
            "Category": "Species"  
        },  
        {  
            "Name": "Fungi",  
            "Category": "Species"  
        },  
        {  
            "Name": "Lichens",  
            "Category": "Species"  
        },  
        {  
            "Name": "Animals",  
            "Category": "Species"  
        },  
        {  
            "Name": "Mosses",  
            "Category": "Plants"  
        },  
        {  
            "Name": "Ferns",  
            "Category": "Plants"  
        },  
        {  
            "Name": "Gymnosperms",  
            "Category": "Plants"  
        },  
        {  
            "Name": "Dicotyledens",  
            "Category": "Plants"  
        },  
        {  
            "Name": "Monocotyledens",  
            "Category": "Plants"  
        },  
        {  
            "Name": "Invertebrates",  
            "Category": "Animals"  
        },  
        {  
            "Name": "Vertebrates",  
            "Category": "Animals"  
        },  
        {  
            "Name": "Insects",  
            "Category": "Invertebrates"  
        },  
        {  
            "Name": "Molluscs",  
            "Category": "Invertebrates"  
        },  
        {  
            "Name": "Crustaceans",  
            "Category": "Invertebrates"  
        },  
        {  
            "Name": "Others",  
            "Category": "Invertebrates"  
        },  
        {  
            "Name": "Fish",  
            "Category": "Vertebrates"  
        },  
        {  
            "Name": "Amphibians",  
            "Category": "Vertebrates"  
        },  
        {  
            "Name": "Reptiles",  
            "Category": "Vertebrates"  
        },  
        {  
            "Name": "Birds",  
            "Category": "Vertebrates"  
        },  
        {  
            "Name": "Mammals",  
            "Category": "Vertebrates"  
        }  
    ],  
 
Please find the help documentation for data source as below. 
 
 
Regards,  
Ramya T 



TD Thin D June 8, 2019 05:42 AM UTC

Thanks, it is solved.


RT Ramya Thirugnanam Syncfusion Team June 10, 2019 05:13 AM UTC

Hi Thin do, 
 
Thanks for your update. 
 
Regards, 
Ramya T 


Loader.
Live Chat Icon For mobile
Up arrow icon