Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17884

Maintain Data in Custom Visualization During Filtering

$
0
0

I am creating a Custom Visualization that works similar to the Scatter Chart with some additional features. Currently I have it set up so that when clicking a bubble the unselected bubbles fade out and changing the selected bubble fades out the previous bubble and fades in the selected bubble just like the Scatter Chart. 

 

However, when I have my chart and a Scatter Chart on the same report I notice strange behavior. Both charts behave the same but I'll explain it in one direction. When I select a bubble in the Scatter Chart the unselected bubbles fade out, but in my chart I only see 1 data point. All other data is gone. Unselecting the selected datapoint in the Scatter Chart brings back all data in my chart. 

 

What I want to happen is for my chart to work like a bar chart. When you select a data point in my chart the bar chart highlights the same data point and fades out the other data points. They all still exist and are still displayed on the chart. How do I get my chart to do the same. When I select a datapoint in some other chart I want my chart to continue to show all data only fade out the unselected data.

 

How do I do this?


Viewing all articles
Browse latest Browse all 17884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>