2021-11-23 13:20:07 +08:00
|
|
|
using System.Collections.Generic;
|
2020-08-29 22:44:32 +08:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
2022-02-19 22:37:57 +08:00
|
|
|
namespace XCharts.Runtime
|
2020-08-29 22:44:32 +08:00
|
|
|
{
|
2021-11-23 13:20:07 +08:00
|
|
|
public class VisualMapContext : MainComponentContext
|
2020-08-29 22:44:32 +08:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-11-23 13:20:07 +08:00
|
|
|
/// 鼠标悬停选中的index
|
2020-08-29 22:44:32 +08:00
|
|
|
/// </summary>
|
2021-11-23 13:20:07 +08:00
|
|
|
public int pointerIndex { get; set; }
|
|
|
|
|
public double pointerValue { get; set; }
|
|
|
|
|
public bool minDrag { get; internal set; }
|
|
|
|
|
public bool maxDrag { get; internal set; }
|
|
|
|
|
|
|
|
|
|
internal List<Color32> inRangeColors = new List<Color32>();
|
2022-05-22 22:17:38 +08:00
|
|
|
|
2020-08-29 22:44:32 +08:00
|
|
|
}
|
|
|
|
|
}
|