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

Faded issue on click of chart #180

Closed shruti-techindustan closed 1 year ago

shruti-techindustan commented 1 year ago

When I click on Graph it becomes faded. I want to do some actions on click of graph. Is there any way to fix this issue. For reference I have also attached image.

Screenshot 2023-07-14 at 12 23 47 PM
AAChartModel commented 1 year ago

Refer the same issue of OC lang version

shruti-techindustan commented 1 year ago

I want to perform click also. If I will use touchEventEnabledSet as false then click not working. I want to perform click as well as faded issue fix. Is there any way to fix faded issue while clicking. @AAChartModel

AAChartModel commented 1 year ago

You do not need to set the touchEventEnabledSet be false.

The only key content is

    aaOptions.plotOptions.series.states = AAStates.new
    .inactiveSet(AAInactive.new
                 .enabledSet(false));