XCharts 2.0

This commit is contained in:
monitor1394
2021-01-11 08:54:28 +08:00
parent ed8d0687f7
commit 489095865d
304 changed files with 14799 additions and 12503 deletions

View File

@@ -0,0 +1,28 @@
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
{
public interface IDrawSerie
{
void InitComponent();
void CheckComponent();
void Update();
void DrawBase(VertexHelper vh);
void DrawSerie(VertexHelper vh, Serie serie);
void RefreshLabel();
bool CheckTootipArea(Vector2 local);
bool OnLegendButtonClick(int index, string legendName, bool show);
bool OnLegendButtonEnter(int index, string legendName);
bool OnLegendButtonExit(int index, string legendName);
void OnPointerDown(PointerEventData eventData);
}
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e9132f4c137015247b44450c2cb23606
guid: 0c4b04c07f5704c06a54b54193558c1b
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,17 +0,0 @@
/******************************************/
/* */
/* Copyright (c) 2018 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/******************************************/
namespace XCharts
{
/// <summary>
/// 从json导入数据接口
/// </summary>
public interface IJsonData
{
void ParseJsonData(string json);
}
}

View File

@@ -1,9 +1,9 @@
/******************************************/
/* */
/* Copyright (c) 2018 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/******************************************/
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
namespace XCharts
{