Sign in to follow this  
shashanktiw

Multi Line Real Time Chart

Recommended Posts

Hi

 

I am looking to make a real time chart with 4 lines

I am able to make the real time with one line, this is getting periodically refreshed.

But I tried everything but can not bring the second line

My generated XML is

 

<chart caption='Outbound Throughput' subCaption='CRO Traffic' refreshInterval='3' setAdaptiveYMin='1' xAxisName='Time' yAxisName='Mbps' labelDisplay='Rotate' palette='3' slantLabels='1' canvasLeftMargin='50' numDisplaySets='13' labelStep='10' chartLeftMargin='10' showRealTimeValue='1' adjustDiv='0' manageResize='1' refreshInstantly='1' animation='1' showRTMenuItem='1' showPrintMenuItem='1' connectNullData='1' dataStreamURL='http://192.168.253.93:9876/GMWeb/treeTable/getDataValues4PeriodicChartUpdates' dataStamp='2012-12-20 16:02:18.0'>

<categories>

<category label='16:02:18.0' />

</categories>

<dataset color='AA000F' seriesName='RVsgi2cro2' showValues='0' lineThickness='2'>

<set value='978.794921875' />

</dataset>

<dataset2 color='FF0FFF' seriesName='RVsgi2cro3' showValues='0' lineThickness='2'>

<set value='486.44921875' />

</dataset2>

<styles>

<definition>

<style type='font' name='captionFont' size='14' />

</definition>

<application>

<apply toObject='Realtimevalue' styles='captionFont' />

</application>

</styles>

</chart>

 

I use the RealTimeLineDY.swf

can you help me in this.

 

thanks in advance

Share this post


Link to post
Share on other sites
Guest Chaitra

Hello,

 

Welcome to FusionCharts Forum!

 

All you need to do is remove the "2" in <dataset2> element of your XML Code to rectify it.

 

Ref Code:

<dataset color='FF0FFF' seriesName='RVsgi2cro3' showValues='0'

lineThickness='2'>

<set value='486.44921875' />

</dataset>

 

Hope this helps!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this