[CLOSED] Add ChartTip to BarSeries

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Add ChartTip to BarSeries

    Hi,

    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]

Similar Threads

  1. Add charttip in code behind
    By cerqueira81 in forum 2.x Help
    Replies: 3
    Last Post: Jun 21, 2012, 1:28 PM
  2. [CLOSED] [Razor] How to use ChartTip?
    By Stijn in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 05, 2012, 12:34 PM

Tags for this Thread

Posting Permissions