How do I make Pie Chart links pass parameters to a GridView - HELP
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


««12

How do I make Pie Chart links pass parameters... Expand / Collapse
Author
Message
Posted 1/12/2009 2:51:38 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/21/2009 11:30:03 AM
Posts: 1, Visits: 14
I need this example using VB.NET and two seperate variables.

I know where the problem is in the following code I just don't know where to fix it.

Here is the XML generated:

<Chart Caption='CC/CCA Regional Report - 12/01/2008 to 12/05/2008' Palette='2' ShowNames='1' ShowValues='1' NumPrefix='' ShowSum='0' Decimals='1' UseRoundEdges='1' xAxisName='Regions' yAxisName='Number of Lines'>

<Categories>
     <Category label='EAST' />
     <Category label='WEST' />
</Categories>

<dataset seriesname='CLOSED'>
     <set value='3098' link='javascript:updateChart('2:EAST')'/>
     <set value='5075' link='javascript:updateChart('2:WEST')' />
</dataset>

<dataset seriesname='VALIDATED'>
     <set value='3418' link='javascript:updateChart('2:EAST')'/>
     <set value='5693' link='javascript:updateChart('2:WEST')' />
</dataset>

</Chart>

I'm using the same code posted above, the only difference being i'm throwing two single quotes around the highlighted areas in order for javascript to except my colon ( which i am using on the backend as a delimeter.

Any help would be much appreciated.

Post #10975
Posted 1/12/2009 11:16:39 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 3/18/2010 3:55:50 AM
Posts: 825, Visits: 1,764
Hi,

Could you please try the following code?

<Chart Caption='CC/CCA Regional Report - 12/01/2008 to 12/05/2008' Palette='2' ShowNames='1' ShowValues='1' NumPrefix='' ShowSum='0' Decimals='1' UseRoundEdges='1' xAxisName='Regions' yAxisName='Number of Lines'>

<Categories>
     <Category label='EAST' />
     <Category label='WEST' />
</Categories>

<dataset seriesname='CLOSED'>
     <set value='3098' link='updateChart(&quot;2:EAST&quot; )'/>
     <set value='5075' link='updateChart(&quot;2:WEST&quot; )' />
</dataset>

<dataset seriesname='VALIDATED'>
     <set value='3418' link='updateChart(&quot;2:EAST&quot; )'/>
     <set value='5693' link='updateChart(&quot;2:WEST&quot; )' />
</dataset>

</Chart>

You would need to use &quot; for single quote (') character.

Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
Post #10978
« Prev Topic | Next Topic »

««12

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 4:25pm


Execution: 0.094.