浏览代码

Update ChartOptionsComposer.kt

An An 2 年之前
父节点
当前提交
752c279fa9

+ 1 - 1
sample/src/main/java/com/github/aachartmodel/aainfographics/demo/chartcomposer/ChartOptionsComposer.kt

@@ -504,7 +504,7 @@ function () {
             AAItemStyle()
                 .color(AAColor.White)//字体颜色
                 .fontSize(13)//字体大小
-                .fontWeight("thin")//字体为细体字
+                .fontWeight(AAChartFontWeightType.Thin)//字体为细体字
         )}
 
         return aaOptions