Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

How to disable the Right Click to change the chart type

$
0
0
1. Smart GWT version:
v9.0p_2013-07-29/PowerEdition Deployment (built 2013-07-29)

2. Problem statement:

I am unable to disable the default feature of giving various options to user to change the chart type, add regression lines, fill, stack , swap facet etc. by right clicking on the charts.

I am using setDisabled(true) method of Facet Chart, to disable the Right Click to change the Chart types.
This API doesn't work fine for charts. At some points on the charts it works but not on overall area of the chart.
**** Please tell the solution to disable this feature ***

I have already given you the sample code with the New Thread --> "Hovering issue on charts", posted by me today.
I have just added setDisabled(true) in DynamicBarChart class after line
setFacets(new Facet("city", "City"));

Viewing all articles
Browse latest Browse all 4756

Trending Articles