优化BarChartTooltipTriggerItem时的表现

This commit is contained in:
monitor1394
2023-08-10 13:19:05 +08:00
parent 01a49de373
commit 9ed80d3b59
4 changed files with 7 additions and 6 deletions

View File

@@ -80,17 +80,17 @@ namespace XCharts.Example
void OnDraw(VertexHelper vh)
{
Debug.Log("OnDraw");
//Debug.Log("OnDraw");
}
void OnDrawBeforeSerie(VertexHelper vh, Serie serie)
{
Debug.Log("OnDrawBeforeSerie: " + serie.index);
//Debug.Log("OnDrawBeforeSerie: " + serie.index);
}
void OnDrawAfterSerie(VertexHelper vh, Serie serie)
{
Debug.Log("OnDrawAfterSerie: " + serie.index);
//Debug.Log("OnDrawAfterSerie: " + serie.index);
if (serie.index != 0) return;
var dataPoints = serie.context.dataPoints;
if (dataPoints.Count > 0)
@@ -107,7 +107,7 @@ namespace XCharts.Example
void OnDrawTop(VertexHelper vh)
{
Debug.Log("OnDrawTop");
//Debug.Log("OnDrawTop");
}
}
}