拼ui 一些业务逻辑x实现
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using EasyChart.Layers;
|
||||
|
||||
namespace EasyChart
|
||||
{
|
||||
public interface IChartInteractionPolicy
|
||||
{
|
||||
void OnPointerMove(
|
||||
IChartTooltipRuntime tooltip,
|
||||
VisualElement host,
|
||||
Vector2 pointerWorldPos,
|
||||
ChartData data,
|
||||
IList<BaseSeriesRenderer> renderers,
|
||||
VisualElement chartArea,
|
||||
Vector4 padding,
|
||||
bool isTransposed,
|
||||
bool isCategorySmoothTranslating,
|
||||
Label tooltipLabel,
|
||||
VisualElement cursorLine);
|
||||
|
||||
void OnPointerLeave(
|
||||
IChartTooltipRuntime tooltip,
|
||||
IList<BaseSeriesRenderer> renderers,
|
||||
Label tooltipLabel,
|
||||
VisualElement cursorLine);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user