XCharts-Team / XCharts

A charting and data visualization library for Unity. Unity数据可视化图表插件。
https://xcharts-team.github.io
MIT License
3.31k stars 571 forks source link

Update xAxis icon 的函数名是否是错的? #235

Closed JackeAstray closed 2 years ago

JackeAstray commented 2 years ago
    /// <summary>
    /// Update xAxis icon.
    /// |更新X轴图标。
    /// </summary>
    /// <param name="index"></param>
    /// <param name="icon"></param>
    /// <param name="xAxisIndex"></param>
    public void UdpateXAxisIcon(int index, Sprite icon, int xAxisIndex = 0)
    {
        var xAxis = GetChartComponent<XAxis>(xAxisIndex);
        if (xAxis != null)
        {
            xAxis.UpdateIcon(index, icon);
        }
    }