go-echarts / go-echarts

🎨 The adorable charts library for Golang

Home Page:https://go-echarts.github.io/go-echarts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add data filtering component

gongzhxu opened this issue · comments

Describe your proposal

I want to add filtering conditions to the chart so that the data can be displayed based on the selected conditions, such as time dimension, etc.

What the feature/improvement it should looks like?

At the top of the icon, you can customize the filter conditions and filter buttons. When the button is clicked, the chart will be redrawn.

Other information

No response

Willing to implement it?

  • Yes, I do

Hi @gongzhxu , it seems more in the js stuff since go-echarts does not support to do such styling functions dynamicly.
Based on the latest go-echarts version.
I think you could do it with the echarts instance injection (%MY_ECHARTS%) with JS functions to reset/populate the dataset or options.