File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
app/src/main/java/com/cyy/charthelper Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,6 @@ private void initMulitleBarChart() {
116116 .setBarChart (bar_chart )
117117 // 多柱状图
118118 .setBarSetData (data )
119- // 单柱状图
120- // .setBarData(entries)
121119 // 多柱状图 标签名集合
122120 .setLabels (names )
123121 // 一页X轴显示个数
@@ -140,13 +138,9 @@ private void initMulitleBarChart() {
140138 .setPinchZoom (true )
141139 // 多柱状图 每组柱之间的宽度,只在多柱状图生效
142140 .setGroupSpace (0.4f )
143- // 单柱状图 每个柱的宽度,只在单柱状图生效
144- .setBarWidth (0.3f )
145141 // x,y轴动画时间和类型
146142 .setDurationMillis (2000 )
147143 .setEasing (Easing .EasingOption .Linear )
148- // 单柱状图颜色
149- .setBarColor (Color .parseColor ("#0000FF" ))
150144 // 多柱状图颜色
151145 .setBarColors (chartColors )
152146 // X轴是否显示自定义数据,在IBarData接口中定义
@@ -184,8 +178,6 @@ private void initSingleBarChart() {
184178 .setDescriptionEnable (false )
185179 // 按比例放缩柱状图
186180 .setPinchZoom (true )
187- // 多柱状图 每组柱之间的宽度,只在多柱状图生效
188- .setGroupSpace (0.12f )
189181 // 单柱状图 每个柱的宽度,只在单柱状图生效
190182 .setBarWidth (0.6f )
191183 // x,y轴动画时间和类型
You can’t perform that action at this time.
0 commit comments