jQuery UI Widgets › Forums › Chart › How to just only show the value in tooltip
Tagged: jqxChart, tooltip format
This topic contains 5 replies, has 2 voices, and was last updated by midi 13 years, 6 months ago.
-
Author
-
Hi,
I notice the text in tooltips for jqxChart are all in this format; ‘Label’, ‘x value’: ‘y value’.
Is there any method to only keep ‘y value’ in the tooltip?
Best Regards,
midiHi,
I just find another issue that tooltip in chart is not displayed when I tap on mobile devices, including iPad, Tablet and Mobile Phones. Is it because there is no ‘hover’ state for these devices? And when can we expect this function to be available?
Best Regards,
midiHi midi,
There’s no tooltip on touch devices because there’s no hover state.
The tooltip is always in the format: series display text, tooltip’s text returned from the tooltipFormatFunction(if defined) or default value and the data value.Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Two things to ask:
1. Thank you for your reply about the tooltip as I agree that tablets and mobile phones do not have a ‘hover’ state; but I want to ask if there is a way to implement on the jqxChart Column series as I implemented to display tooltip on mobile devices, on jqxgrid. FYI, I did this by using jqxtooltip together with jqxgrid. BUT I cannot find a way to combine jqxtooltip together with jqxchart. Any help here will greatly appreciated.
2. On the jqxchart column series, on mobile devices (tablets & mobile phones) on Android OS, I find that with Android OS version 4.0.4 the columns are filled in but with Android version 4.0.3 the columns are just outlined and not filled in. Does the user need to upgrade to version 4.0.4 in order to see the columns fill in or is there some ‘work around’ I can implement so user does not need to upgrade?
Thanks,
midiHi midi,
Regarding your questions:
1. In order to create a jqxTooltip, you need to to select one or multiple HTML elements by Class Name or by ID. The Chart Seroes do not have either Class Name or ID. That means that you can’t use jqxTooltip instead of the Chart’s built-in Tooltip.
2. The Chart’s rendering depends on the device’s SVG & HTML5 support. You can also specify the Chart’s renderEngine and set it to ‘HTML5’, if necessary.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Thanks for the answers. They really help a lot.
Best Regards,
midi -
AuthorPosts
You must be logged in to reply to this topic.