tyler

Members
  • Content count

    9
  • Joined

  • Last visited

Posts posted by tyler


  1. I ended up making a quick demo and found that the drill-down does indeed work with realtime charts:

     

    response.Append("&value=");
    response.Append(rand.Next(20,100));
    response.Append("|");
    response.Append(rand.Next(20,100));
    
    
    response.Append("&link=");
    response.Append("newchart-xmlurl-");
    response.Append("/path/to/chart/TestChild.xml");
    
    
    Response.Write(response);

  2. Here you are:

    <chart  caption='Primary Crusher Performance'
      subCaption='Perfromance by Week View'
      dataStreamURL='../DataProviders/CrusherPerformanceWeeklyView.aspx'
      refreshInterval='3'
      numberPrefix=''
      setAdaptiveYMin='0'
      xAxisName='Shifts'
      yAxisName='Tonnes'
      yAxisMaxValue='100000'
      plotGradientColor=' '
      showValues='1'
      decimals='0'
      formatNumberScale='0'
      interactiveLegend='1'
      showRealTimeValue='1'
      labelDisplay='Rotate'
      slantLabels='0'
      numDisplaySets='16'>
    <dataset seriesName='Cr1' showValues='0'></dataset>
    <dataset seriesName='Cr4' showValues='0'></dataset>
    <dataset seriesName='Cr5' showValues='0'></dataset>
    <trendlines>
      <line startValue='70000' color='FF0000' displayValue='70,000' showOnTop='1'/>
    </trendlines>
    <styles>
      <definition>
       <style type='font' name='captionFont' size='14' />
      </definition>
      <application>
       <apply toObject='Caption' styles='captionFont' />
       <apply toObject='Realtimevalue' styles='captionFont' />
      </application>
    </styles>
    </chart>

  3. Sorry, what exactly is the format for multiple updates?

     

    I tried:

    &label=Mon&value=78|33|74&label=Tue&value=17|63|47&label=Wed&value=24|40|58&label=Thu&value=88|40|63&label=Fri&value=18|19|78&label=Sat&value=94|87|89&label=Sun&value=94|90|63

    but they still render one at a time.

     

     

    EDIT:

     

    Also tried:

    &label=Mon,Tue,Wed,Thu,Fri,Sat,Sun&value=17|35|34,14|52|48,43|91|58,90|14|50,13|93|43,2|47|22,92|43|82

    which gives me the 7 days each time, but only Monday has data on the chart.


  4. Hello,

     

    I have a RealtimeStackedColumn chart, which I am just feeing random values to every second.  Every second when the chart updates, a new column is added (see picture).  What I would like instead is to have a fixed amount of columns (one for each day of the week) and then update the existing columns, depending on the data.

     

    The code in my DataSource (I am using C#) is:

    Response.Write ("&label=" + label+ "&value=" + randomValueCr1 + "|" 
    +randomValueCr4 + "|" + randomValueCr5);

    nJgBO.png