|
|
|
Forum 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.
|
|
|
|
|
Supreme 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("2:EAST" )'/> <set value='5075' link='updateChart("2:WEST" )' /> </dataset> <dataset seriesname='VALIDATED'> <set value='3418' link='updateChart("2:EAST" )'/> <set value='5693' link='updateChart("2:WEST" )' /> </dataset> </Chart> You would need to use " for single quote (') character.
Regards, Rahul Kumar Software EngineerA byte of magic.
|
|
|
|