AAChartCore icon indicating copy to clipboard operation
AAChartCore copied to clipboard

dataLabels.format问题

Open githeer opened this issue 3 years ago • 0 comments

com.github.aachartmodel.aainfographics.demo I/chromium: [INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token h in JSON at position 474", source: file:///android_asset/AAChartView.html (1)

val formatStr = 
"<img src=\"https://www.highcharts.com/samples/graphics/sun.png\">" +
"<span style=\"color:#FFFFFF;font-weight:thin;font-size:25px\">{y}</span>" +
"<span style=\"color:#FFFFFF;font-weight:thin;font-size:17px\"> m</span>"

demo中或者是自己自定义样式,都会报错,android版本不行,iOS没问题

githeer avatar Apr 22 '22 03:04 githeer