Skip to Content
avatar image
Former Member

How to set single-selection mode in chart Popover?

I have a line chart in which I am showing the popover for data points. By default the chart is in multiselection mode.

I would like to know how to change it to single selection mode?

Thanks.

Mahnaz

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 18, 2017 at 09:04 AM

    Hi Mahnaz,

    you can set the interaction mode using VizProperties. Here is an example:

    oVizFrame.setVizProperties({
    	general: {
    		background: {
    			color: "#ffffff"
    		}
    	},
    	legend: {
    		visible: false
    	},
    	interaction: {
    		selectability: {
    			mode: 'EXCLUSIVE'
    		}
    	}
    });
    

    Best regards
    Daniel

    Add comment
    10|10000 characters needed characters exceeded