Jun 19, 2013, 11:54 AM
[CLOSED] Disable Line Series Tips
This is related to the post on Toggling VerticalMarkers that Baidaly was able to help on.
I have created my chart in behind code, including chart tips:
Question: Is it possible to disable/enable/hide the line series tips via javascript?
I have created my chart in behind code, including chart tips:
//Partial code
Chart byMonthChart = new Chart();
..
VerticalMarker vm = new VerticalMarker();
vm.Snap = true;
vm.ShowXLabel = true;
byMonthChart.Plugins.Add(vm);
...
LineSeries lSeries = new LineSeries();
...
lSeries.Tips = new ChartTip();
lSeries.Tips.TrackMouse = true;
lSeries.Tips.BodyStyle = "text-align:center; fount-size:9px;";
lSeries.Tips.Renderer.Handler = "this.update('<b>' + storeItem.get('Name') + ' ' +
item.series.title + '<br/>Requests</b><hr><font color=blue>' +
String(item.value[1]) + '</font>');
byMonthChart.Series.Add(lSeries);
...
I have added CheckBoxItems to the charts context menu that would allow the user to toggle the VerticleMarker and ChartTips on or off.Question: Is it possible to disable/enable/hide the line series tips via javascript?
Last edited by Daniil; Jun 19, 2013 at 4:51 PM.
Reason: [CLOSED]