Hello,
Can we show a tooltip on series touch event? Is there any callback function for series touch event?
Regards
Shibu
Indus Systems Inc
Chart Tooltip in android
Re: Chart Tooltip in android
Hi Shibu,
There is a Marks Tip tool as you can see in the Android demo. Isn't it what you are looking for?
There is a Marks Tip tool as you can see in the Android demo. Isn't it what you are looking for?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 9
- Joined: Wed Nov 09, 2011 12:00 am
Re: Chart Tooltip in android
Hello, Yeray
Yes, That is we are looking.
With Thanks
Shibu
Indus Systems Inc
Yes, That is we are looking.
With Thanks
Shibu
Indus Systems Inc
-
- Newbie
- Posts: 9
- Joined: Wed Nov 09, 2011 12:00 am
Re: Chart Tooltip in android
Hello Yeray,
It is not working when pan is enabled. Also is it possible to disable that toast, because we need only the touch event of the series
Regards
Shibu
Indus Systems Inc
It is not working when pan is enabled. Also is it possible to disable that toast, because we need only the touch event of the series
Regards
Shibu
Indus Systems Inc
Re: Chart Tooltip in android
Hi Shibu,
The Pan is disabled by default. So I think only the Zoom could interfere here. You could disable it as follows:
The Pan is disabled by default. So I think only the Zoom could interfere here. You could disable it as follows:
Code: Select all
tChart1.getZoom().setAllow(false);
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 9
- Joined: Wed Nov 09, 2011 12:00 am
Re: Chart Tooltip in android
Hello Yeray,
We use pan featur for our chart because we have to show large number of categories in chart. So it should pan chart area horizontally.
Regards
Shibu
Indus Systems Inc
We use pan featur for our chart because we have to show large number of categories in chart. So it should pan chart area horizontally.
Regards
Shibu
Indus Systems Inc
Re: Chart Tooltip in android
Hi Shibu,
Ah, I've found the Panning MouseButton should be BUTTON1 in Android. Otherwise it could give problems.
The following code and it seems to work fine for me here:
Ah, I've found the Panning MouseButton should be BUTTON1 in Android. Otherwise it could give problems.
The following code and it seems to work fine for me here:
Code: Select all
ThemesList.applyTheme(tChart1.getChart(), 1);
tChart1.getAspect().setView3D(false);
tChart1.getLegend().setVisible(false);
Bar bar1 = new Bar(tChart1.getChart());
bar1.fillSampleValues(30);
tChart1.getAxes().getBottom().setMinMax(-0.5, 9.5);
MarksTip mark1 = new MarksTip(tChart1.getChart());
tChart1.getPanning().setMouseButton(FrameworkMouseEvent.BUTTON1);
tChart1.getPanning().setAllow(ScrollMode.HORIZONTAL);
mark1.setMouseAction(MarksTipMouseAction.CLICK);
tChart1.getZoom().setAllow(false);
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |