Sign in to follow this  
accountothers

Scrollcolumn2D Chart Not Working With Fc V3.2 Upgrade

Recommended Posts

Hi,

 

I am using fusion charts in one of my sites and recently I tried to upgrade it to v3.2 to make my site Apple IPad compatible.

 

In one page, I am using "ScrollColumn2D" chart and i got it correctly with a scroll bar before I upgraded FC to v3.2.

 

In the process of upgrading, I have used the Code Snippet:

FusionCharts.setCurrentRenderer('javascript');

in my page and it gave a chart with no scroll bar as shown below.

 

post-9826-006494700 1300788866_thumb.jpg

 

And, when I tried the Code Snippet:

FusionCharts._fallbackJSChartWhenNoFlash();

it gave me the correct chart with a scroll bar as shown below.

 

post-9826-027065000 1300788829_thumb.jpg

 

What I need is a scrollbar for ScrollColumn2D chart when I use java script version and what I have to do to get that in my page?

 

Below is the test page which I tried using FC v3.2.

 


<%@LANGUAGE="VBSCRIPT"%>
 <!--#include file="../FusionCharts/FusionCharts_Gen.asp"-->
<%
Dim FC
' Create FusionCharts ASP class object
set FC = new FusionCharts
' Set chart type to Column3D
Call FC.setChartType("ScrollColumn2D")
' Set chart size 
Call FC.setSize("300","250")
' Set the relative path of the SWF file
Call FC.setSWFPath("../FusionCharts/")

Dim strParam

' Define chart attributes
strParam  = "palette=1;yAxisMinValue=0;yAxisMaxValue=5;bgColor=fdf9e4,fdf9e4;bgAlpha=100,100;useRoundEdges=1;scrollToEnd=1;"

' Set chart attributes
Call FC.setChartParams(strParam)

Dim strInt
strInt = CInt(0)
Do While strInt < CInt(30)
   Call FC.addCategory("1 - 1", "", "")
   strInt = strInt + 1
Loop            

' Add a new dataset with dataset parameters 
FC.addDataset "Dataset Parameter","color=289ad5;showValues=1"

' Add chart values and category names
strInt = CInt(0)
Do While strInt < CInt(20)
   Call FC.addChartData("4","label=Data 1","")
   strInt = strInt + 1
Loop%>
<html>
 <head>
    <script type="text/javascript" language='javascript' src='../FusionCharts/FusionCharts.js'></script>
    <script type="text/javascript" language="javascript">
       //Total java script
       FusionCharts.setCurrentRenderer('javascript');

       //If flash is not installed, then use javascript
       //FusionCharts._fallbackJSChartWhenNoFlash();
    </script>
 </head>
 <body>
      <%
          Call FC.renderChart(false)
      %>
 </body>
</html>

Edited by accountothers

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

I am afraid, JavaScript version of FusionCharts does not support scrollbar in ScrollColumn2D, at this time.

 

We will try to implement this feature in our future upgrades.

 

For more details, please refer to the link: http://www.fusioncharts.com/docs/?Introduction/ChartList.html

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

I am afraid, there is no workaround for showing scrollbar in JavaScript version of scroll chart, at this time.

 

Thank you again for your continued patience and patronage.

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