海拔图和小地图

This commit is contained in:
lishuo committed 2021-03-30 17:29:40 +08:00
1 parent 42fa59d103
commit 8ad36c965d
521 files changed
+1985033 -439

No files matched your search

@@ -0,0 +1,36 @@
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
using UnityEngine;
namespace XCharts
{
[AddComponentMenu("XCharts/CandlestickChart", 21)]
[ExecuteInEditMode]
[RequireComponent(typeof(RectTransform))]
[DisallowMultipleComponent]
public class CandlestickChart : CoordinateChart
{
#if UNITY_EDITOR
protected override void Reset()
{
base.Reset();
title.text = "CandlestickChart";
tooltip.type = Tooltip.Type.Corss;
RemoveData();
var defaultDataCount = SerieTemplate.AddDefaultCandlestickSerie(this, "serie1");
for (int i = 0; i < defaultDataCount; i++)
{
AddXAxisData("x" + (i + 1));
}
}
#endif
}
}