How to disable tooltip which show while the mosue point to t
How to disable tooltip which show while the mosue point to t
How to disable tooltip which show while the mosue point to the bar in the chart?
Re: How to disable tooltip which show while the mosue point
Hi Carrie,
You can either:
(1) Set the tool tip generator to null, that way no tooltips will be generated (and so there is nothing to display);
(2) Use the setDisplayToolTips(boolean) method in the ChartPanel class to suppress the display of tooltips.
Regards,
Dave Gilbert
You can either:
(1) Set the tool tip generator to null, that way no tooltips will be generated (and so there is nothing to display);
(2) Use the setDisplayToolTips(boolean) method in the ChartPanel class to suppress the display of tooltips.
Regards,
Dave Gilbert
Re: How to disable tooltip which show while the mosue point
How can I call the setDisplayToolTips method??
by new a ChartPanel object ??
by new a ChartPanel object ??
Re: How to disable tooltip which show while the mosue point
I have add the following code to my program, but the tool tips is also show?? Could you please help
ChartPanel cp = new ChartPanel(chart);
cp.setGenerateToolTips(false);
ChartPanel cp = new ChartPanel(chart);
cp.setGenerateToolTips(false);