Apr 27, 2012, 6:35 PM
[CLOSED] Add ChartTip to BarSeries
Hi,
I am trying to add the ChartTip to the BarSeries (MVC3, Razor ViewEngine) like this
Also, I am not able to set the TrackMouse property like this tips.TrackMouse(true), which throws an "TrackMouse is undefined" exception.
Thanks.
I am trying to add the ChartTip to the BarSeries (MVC3, Razor ViewEngine) like this
Tips(tips => tips.Add(Html.X().ChartTip().Renderer(renderer => new JFunction("this.setTitle(storeItem.get('Name') + ': ' + storeItem.get('Data1') + ' views');"))))
but got an exception saying "Object reference not set to an instance of an object.". Is this a bug? If not, could someone show me the proper way to add the ChartTip?Also, I am not able to set the TrackMouse property like this tips.TrackMouse(true), which throws an "TrackMouse is undefined" exception.
Thanks.
Last edited by Daniil; Apr 30, 2012 at 2:12 PM.
Reason: [CLOSED]