I have a line chart with x-axis showing date. Now I want to change aggregations of x-axis using filter/control. If a user wants to see day relative data, then date on x-axis is aggregated by day. If they want to see weekly data, then they could choose Week in filter and data is automatically aggregated weekly. Same goes for Month, Quarter and Year. Is there any way of achieving this?
Thanks in advance.