基于队列的先进后出的操作,做了一个从右到左实时更新数据的图表,可选择直方图或折线图(其它图种后续接着更新),且表格坐标内容比起XChart原插件更方便自定义(个人认为)。 using System.Collections; using System.Collections.Generic; using UnityEngine; using XCharts.Runtime; using static XChartControl; public class XChartControl : MonoBehaviour { //public声明的变量可以在Inspector自行更改 public DataManager dataManager; public enum ChartType//用枚举定义下拉框 { BarChart, LineChart } // Start is called before the first frame update public ChartType chartType; public string chartTitle_ = "实时数据";...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile