How to provide X axis and Y Axis value in kendo chart crosshair tooltip? -
i trying x axis , y axis value in crosshair tooltip of kendo chart. please see: http://dojo.telerik.com/idane
how can done? how specify template tooltip contain both x axis , y axis value? want have both category , value axis value in same crosshair tooltip. can done?
i found question same requirement: http://www.telerik.com/forums/show-multiple-series-value-in-a-categoryaxis-crosshair-tooltip-
but how can use in example : http://dojo.telerik.com/idane ?
thanks in advance.
according documentation, crosshair tooltip template has access axis value: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-categoryaxis.crosshair.tooltip.template
so either add second crosshair on valueaxis:
or show regular tooltip both category , value:
tooltip: { visible: true, template: "#: category # - #: value #" },
Comments
Post a Comment