[CLOSED] Renderer on Tips of Series of Chart in code behind

  1. #1

    [CLOSED] Renderer on Tips of Series of Chart in code behind

    Hello (again),

    I'm trying to set the Renderer handler for the Tips of the Series of my chart in code behind.
    But it tells met that the Renderer is readonly.

    I tried this:

    Tips = new ChartTip() { TrackMouse = true, Width = 100, Height = 28, Renderer = new JFunction("Here my handler function") }
    Thanks,

    Kind regards,

    Reno
    Last edited by Daniil; Jun 21, 2013 at 3:52 PM. Reason: [CLOSED]
  2. #2
    Here is how I created my chart tips:

    ...
    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>');
    ...
  3. #3
    Thanks, I'll give that a try
  4. #4
    Did you get it to work?
  5. #5
    Yep, works brilliantly! Many thanks!
  6. #6
    Looks like this thread can be closed.

Similar Threads

  1. Replies: 13
    Last Post: Apr 26, 2016, 10:11 PM
  2. [CLOSED] [#228] Scatter series label - fit into chart
    By bayoglu in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 31, 2013, 2:26 AM
  3. How to use Line series Chart in version 1.3
    By Binai in forum 1.x Help
    Replies: 1
    Last Post: May 08, 2013, 12:46 PM
  4. [CLOSED] Using common tip content for different series of a chart
    By bayoglu in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 01, 2013, 4:14 PM
  5. [CLOSED] chart series double click event
    By SymSure in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 04, 2012, 2:03 PM

Posting Permissions