重构VisualMap和DataZoom

This commit is contained in:
monitor1394
2021-05-13 09:38:32 +08:00
parent a30c036245
commit 718e600279
12 changed files with 831 additions and 655 deletions

View File

@@ -0,0 +1,25 @@
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
{
public interface IComponentHandler
{
void Init();
void Update();
void Draw(VertexHelper vh);
void OnDrag(PointerEventData eventData);
void OnBeginDrag(PointerEventData eventData);
void OnEndDrag(PointerEventData eventData);
void OnPointerDown(PointerEventData eventData);
void OnScroll(PointerEventData eventData);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 062750f03b8ce4ef8a8ae46721a7d884
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: