mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 15:00:08 +00:00
增加数据更新接口UpdateData
This commit is contained in:
@@ -97,7 +97,7 @@ namespace xcharts
|
||||
{
|
||||
float value = series.dataList[i];
|
||||
|
||||
Vector3 p = new Vector3(startX + i * scaleWid,
|
||||
Vector3 p = new Vector3(startX + i * scaleWid,
|
||||
zeroY + value * coordinateHig / max);
|
||||
float pointWid = lineInfo.pointWid;
|
||||
if (tooltip.show && i == tooltip.DataIndex - 1)
|
||||
@@ -106,8 +106,8 @@ namespace xcharts
|
||||
}
|
||||
if (theme == Theme.Dark)
|
||||
{
|
||||
|
||||
ChartUtils.DrawCricle(vh, p, pointWid, color,
|
||||
|
||||
ChartUtils.DrawCricle(vh, p, pointWid, color,
|
||||
(int)lineInfo.pointWid * 5);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user