mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 15:00:08 +00:00
优化代码
This commit is contained in:
@@ -97,10 +97,12 @@ namespace xcharts
|
||||
{
|
||||
SeriesData data = series.dataList[i];
|
||||
|
||||
Vector3 p = new Vector3(startX + i * scaleWid, zeroY + data.value * coordinateHig / max);
|
||||
Vector3 p = new Vector3(startX + i * scaleWid,
|
||||
zeroY + data.value * coordinateHig / max);
|
||||
if(theme == Theme.Dark)
|
||||
{
|
||||
ChartUtils.DrawCricle(vh, p, lineInfo.pointWid, color, (int)lineInfo.pointWid * 5);
|
||||
ChartUtils.DrawCricle(vh, p, lineInfo.pointWid, color,
|
||||
(int)lineInfo.pointWid * 5);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user