Sign in to follow this  
Guest Madhumita

What is the code for creating Scroll Chart

Recommended Posts

Hi i am new to fusion chart and please help me. what is the code for creating scroll charts in vb, i used this code but didn't work

 

chartParameters = "caption=LOAD Vs TIME Graph;subcaption=Load vs Time;xAxisName=Time;yAxisName=Load;numberPrefix=;numVisiblePlot=6"

 

and one more thing how can i draw a line in the graph in which the y axis value give from a text By the user

 

Thanks

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

 

 

 

Welcome to FusionCharts Forum. :)

 

 

 

FusionCharts has scrolling functionality for all the Scroll Charts. You do not require to enable the Scroll for these charts.

 

ref. - http://www.fusioncharts.com/vb/docs/contents/ChartSS/ScrollColumn2D.html

 

 

 

For taking in the value in the text field you need to reference the text field by its ID, retrieve its values, set it in the XML and then render the chart.

 

 

 

I am attaching a simple JavaScript example which does the same.

dynamicXML.zip

Share this post


Link to post
Share on other sites

hi i am using this code

 

 

 

Call FusionCharts1.Data.addTrendLine("startValue='" & Text1.Text & "' ; color=cc0000;displayValue=Highest ")

 

 

 

but its not working and one more problem,

 

 

 

Call FusionCharts1.Data.addTrendLine("startValue=1200; color=cc0000;displayValue=Lowest")

 

 

 

if table data value is less than the trendline value then trend line is not showing

 

thanks

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

 

 

 

Call FusionCharts1.Data.addTrendLine("startValue=1200; color=cc0000;displayValue=Lowest")

 

 

 

if table data value is less than the trendline value then trend line is not showing

 

 

 

>> This is a functionality of FusionCharts, if the maximum data plot value is less than the trendline value, then the trendline will not be shown until the yaxismaxvalue is set above the trendline value.

 

 

 

 

 

Call FusionCharts1.Data.addTrendLine("startValue='" & Text1.Text & "' ; color=cc0000;displayValue=Highest ")

 

 

 

but its not working

 

 

 

>> Try using the code like this and see if this helps: FusionCharts1.Data.addTrendLine("startValue=" & Text1.Text & "; color=cc0000;displayValue=Highest ")

 

 

 

Looking forward to your reply.

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hey,

 

 

 

You are most welcome.

 

 

 

Happy FusionCharting.

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