AAChartModel / AAChartCore-Kotlin

📈📊⛰⛰⛰An elegant modern declarative data visualization chart framework for Android . 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.极其精美而又强大的 Android 数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
Apache License 2.0
1.02k stars 118 forks source link

Areasplinerange chart ignores markerRadius #170

Closed apollo1220 closed 1 year ago

apollo1220 commented 1 year ago

When using the Areasplinerange chart type, if you set the markerRadius to 0 (or any other value) it has no effect on the rendered chart. The same code works if using the Area chart type.

aaChartModel = AAChartModel()
            .chartType(AAChartType.Areasplinerange)
            .backgroundColor("#000000")
            .axesTextColor("#FFFFFF")
            .dataLabelsEnabled(false)
            .series(/**/)

aaChartModel.markerRadius = 0
val chart = view?.findViewById<AAChartView>(R.id.chart)
chart?.aa_drawChartWithChartModel(aaChartModel)
AAChartModel commented 1 year ago

It was fixed in this commit

Update the AAChartCore-Kotlin to the latest content, the problem would be solved.