mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 17:00:08 +00:00
XCharts 2.0
This commit is contained in:
28
Runtime/Internal/Interface/IDrawSerie.cs
Normal file
28
Runtime/Internal/Interface/IDrawSerie.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e9132f4c137015247b44450c2cb23606
|
||||
guid: 0c4b04c07f5704c06a54b54193558c1b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -1,17 +0,0 @@
|
||||
/******************************************/
|
||||
/* */
|
||||
/* Copyright (c) 2018 monitor1394 */
|
||||
/* https://github.com/monitor1394 */
|
||||
/* */
|
||||
/******************************************/
|
||||
|
||||
namespace XCharts
|
||||
{
|
||||
/// <summary>
|
||||
/// 从json导入数据接口
|
||||
/// </summary>
|
||||
public interface IJsonData
|
||||
{
|
||||
void ParseJsonData(string json);
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
/******************************************/
|
||||
/* */
|
||||
/* Copyright (c) 2018 monitor1394 */
|
||||
/* https://github.com/monitor1394 */
|
||||
/* */
|
||||
/******************************************/
|
||||
/************************************************/
|
||||
/* */
|
||||
/* Copyright (c) 2018 - 2021 monitor1394 */
|
||||
/* https://github.com/monitor1394 */
|
||||
/* */
|
||||
/************************************************/
|
||||
|
||||
namespace XCharts
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user