2021-12-19 20:53:55 +08:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
using XUGL;
|
|
|
|
|
|
2022-02-19 22:37:57 +08:00
|
|
|
namespace XCharts.Runtime
|
2021-12-19 20:53:55 +08:00
|
|
|
{
|
|
|
|
|
public class TooltipData
|
|
|
|
|
{
|
|
|
|
|
public string title;
|
|
|
|
|
public List<SerieParams> param = new List<SerieParams>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class TooltipContext
|
|
|
|
|
{
|
|
|
|
|
public Vector2 pointer;
|
|
|
|
|
public float width;
|
|
|
|
|
public float height;
|
2022-01-26 20:47:14 +08:00
|
|
|
public float angle;
|
2024-03-20 13:34:21 +08:00
|
|
|
public int xAxisClickIndex = -1;
|
2023-09-01 08:01:27 +08:00
|
|
|
public Tooltip.Type type;
|
|
|
|
|
public Tooltip.Trigger trigger;
|
2021-12-19 20:53:55 +08:00
|
|
|
public TooltipData data = new TooltipData();
|
|
|
|
|
}
|
|
|
|
|
}
|