visualizations context query

  • 1
  • Question
  • Updated 3 years ago
I am displaying a chart which has region like New York, Boston, Atlanta etc on it 'X' axis and their corresponding revenue on the 'Y' axis. Now on click of a particular region i want to open up a popup and only show data details specific to that region. When i set the name of the region in the context of the pop-up no data is displayed. The context is mapping the value of the region with the id. How can i map it with any other field?

Photo of Vineet

Vineet

  • 492 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Vineet

Vineet

  • 492 Points 250 badge 2x thumb
So i added the region field instead of id by editing the xml. Now it is showing data for all the region on the pop-up irrespective of which region i click on on the graph.

Do want to mention. The model of the pop-up is different from model of the chart because the pop-up model is an aggregate
(Edited)