using LitJson; using System.Collections; using System.Collections.Generic; using UnityEngine; using XCharts.Runtime; public class PanelLineController : MonoBehaviour { public LineChart humitLine; private void Start() { JsonData data = new JsonData(); data["deviceClassification"] = "TEMPERATURE_HUMIDITY"; data["ago"] = 25; PanelController.Instance.Post("https://api-fat1.ghz-tech.com" + "/feature-tester/v1/AIot/device/getDatapoint", data.ToJson(), (msg) => { Debug.Log(msg); }); } }