AAChartModel / AAChartKit

📈📊🚀🚀🚀An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的现代化声明式数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
https://cocoapods.org/pods/AAChartKit
MIT License
4.71k stars 750 forks source link

修改提示框里面文字大小和精确到小数点后两位没效果 #1426

Closed LH0120 closed 1 year ago

LH0120 commented 1 year ago

element.tooltip.style.fontSize = @"8"; element.tooltip.style.fontWeight = @"thin"; element.tooltip.valueDecimals = @2;

_chartModel.aa_toAAOptions.tooltip.style.fontSize = @"8"; _chartModel.aa_toAAOptions.tooltip.style.fontWeight = @"thin"; _chartModel.aa_toAAOptions.tooltip.valueDecimals = @2;

用这两种方式修改提示框里面文字大小和精确到小数点后两位都没效果,请问下是用错了吗?

LH0120 commented 1 year ago

已解决

xubillde commented 1 year ago

@LH0120 解决代码是咋样的