How to Implement Dynamic data in Graphical Representation

0
Hi, team Hope you all are doing well  Currently I’m  working on REST API and  I want to  Implement the weather forecast API in my application  Through the REST  call what ever data I got  I want to represent it in  Graph  How to Configure Dynamic data in Graphical representation  Thanks & Regard’s Rajat
asked
1 answers
1

Hi Rajat,

You may create JSON structure in such a way each graph can have multiple series with multiple “x” and “y” value and map it with import mapping. 

For example:

 

{

    "graph": [

        {

            "graphName": "xyz",

            "serie": [

                {

                    "seriesName": "xyz",

                    "values": [

                        {

                            "xvalue": "0",

                            "yvalue": "0"

                        }

                    ]

                }

            ]

        }

    ]

}

I hope this will be helpful.

 

answered