Sign in to follow this  
damolee

y axis problems

Recommended Posts

hi,

we have developed a bar/line chart and specified the max y axis for both of them but somehow the chart is not using the values we specify. We have specified the y axis values in the <chart ...> option at the start of the XML file. It seems to take the highest value in the data and put the max y axis at something like 10% above this value.

is there a default in the charts that is doing this that we need to get rid of?

regards

Damien.

Edited by Guest

Share this post


Link to post
Share on other sites

Hi Pallav,

Thanks again for your help, XML file is below. The graph is a bar and line combination chart. We want to set the y axis on the left to 80 and y axis on right to 8. The y axis on left should go up in 10s' (0,10,20,30 etc) and y axis on right up in 1's (0,1,2 etc) but we cant get this to work.

<chart caption='Test Scoring System' labelDisplay='rotate' slantLabels='1' showValues='0' showBorder='0' chartLeftMargin='90' chartBottomMargin='30' toolTipBgColor='D9E5F1' baseFont='Arial' baseFontSize ='12' bgSWF='../Images/FusionChartBackground.jpg' canvasBgAlpha='30' canvasBorderColor='333333' canvasBorderThickness='0'  yAxisMinValue='8' yAxisMaxValue='80' numDivLines='7' adjustDiv='0' >

<categories>

<category label='Player01' />

<category label='Player02' />

<category label='Player03' />

<category label='Player04' />

<category label='Player05' />

<category label='Player06' />

<category label='Player07' />

<category label='Player08' />

<category label='Player09' />

<category label='Player10' />

<category label='Player11' />

<category label='Player12' />

<category label='Player13' />

<category label='Player14' />

<category label='Player15' />

<category label='Player16' />

<category label='Player17' />

<category label='Player18' />

<category label='Player19' />

<category label='Player20' />

<category label='Player21' />

<category label='Player22' />

<category label='Player23' />

<category label='Player24' />

<category label='Player25' />

<category label='Player26' />

<category label='Player27' />

<category label='Player28' />

<category label='Player29' />

<category label='Player30' />

<category label='Player31' />

<category label='Player32' />

<category label='Player33' />

<category label='Player34' />

<category label='Player35' />

</categories>

<dataset seriesName='Fitness Test Score' color='3333FF' >

<set value='48' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d12367'  color='3333FF' />

<set value='27' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11942'  color='3333FF' />

<set value='25' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17790'  color='3333FF' />

<set value='32' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d19'  color='3333FF' />

<set value='26' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d15'  color='3333FF' />

<set value='47' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11900'  color='3333FF' />

<set value='39' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d13'  color='3333FF' />

<set value='15' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17'  color='3333FF' />

<set value='25' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d25'  color='3333FF' />

<set value='50' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d28'  color='3333FF' />

<set value='15' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d344'  color='3333FF' />

<set value='47' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d12'  color='3333FF' />

<set value='40' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d9'  color='3333FF' />

<set value='39' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11890'  color='3333FF' />

<set value='71' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d21115'  color='3333FF' />

<set value='36' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d26'  color='3333FF' />

<set value='45' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d3'  color='3333FF' />

<set value='42' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d2'  color='3333FF' />

<set value='47' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d32'  color='3333FF' />

<set value='15' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11898'  color='3333FF' />

<set value='35' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11845'  color='3333FF' />

<set value='36' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d3552'  color='3333FF' />

<set value='20' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d8966'  color='3333FF' />

<set value='47' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d20868'  color='3333FF' />

<set value='19' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d7'  color='3333FF' />

<set value='1' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d21'  color='3333FF' />

<set value='3' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d10'  color='3333FF' />

<set value='50' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11895'  color='3333FF' />

<set value='17' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d8'  color='3333FF' />

<set value='37' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17484'  color='3333FF' />

<set value='50' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17644'  color='3333FF' />

<set value='23' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d140'  color='3333FF' />

<set value='63' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d20'  color='3333FF' />

<set value='44' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d23'  color='3333FF' />

<set value='43' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11906'  color='3333FF' />

</dataset>

<dataset seriesName='Gold Standards Achieved' parentYAxis='S' renderAs='Line' color='FFFF00' >

<set value='7' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d12367'  color='FFFF00' />

<set value='4' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11942'  color='FFFF00' />

<set value='3' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17790'  color='FFFF00' />

<set value='4' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d19'  color='FFFF00' />

<set value='4' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d15'  color='FFFF00' />

<set value='6' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11900'  color='FFFF00' />

<set value='4' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d13'  color='FFFF00' />

<set value='1' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17'  color='FFFF00' />

<set value='3' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d25'  color='FFFF00' />

<set value='5' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d28'  color='FFFF00' />

<set value='2' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d344'  color='FFFF00' />

<set value='7' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d12'  color='FFFF00' />

<set value='4' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d9'  color='FFFF00' />

<set value='4' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11890'  color='FFFF00' />

<set value='8' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d21115'  color='FFFF00' />

<set value='4' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d26'  color='FFFF00' />

<set value='7' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d3'  color='FFFF00' />

<set value='6' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d2'  color='FFFF00' />

<set value='6' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d32'  color='FFFF00' />

<set value='2' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11898'  color='FFFF00' />

<set value='3' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11845'  color='FFFF00' />

<set value='3' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d3552'  color='FFFF00' />

<set value='2' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d8966'  color='FFFF00' />

<set value='7' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d20868'  color='FFFF00' />

<set value='3' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d7'  color='FFFF00' />

<set value='0' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d21'  color='FFFF00' />

<set value='0' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d10'  color='FFFF00' />

<set value='6' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11895'  color='FFFF00' />

<set value='2' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d8'  color='FFFF00' />

<set value='5' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17484'  color='FFFF00' />

<set value='7' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d17644'  color='FFFF00' />

<set value='3' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d140'  color='FFFF00' />

<set value='8' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d20'  color='FFFF00' />

<set value='6' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d23'  color='FFFF00' />

<set value='5' link='..%2fPageSquadScoringSystem%2fDefault.aspx%3fplayerid%3d11906'  color='FFFF00' />

</dataset>

</chart>

Kind regards

Damien.

Share this post


Link to post
Share on other sites

Hi Pallav,

We have found the problem here. We were not specifying y axis values for both y axis'.... we now specify PYaxismax value, PYaxismin value, SYaxismax value and SYaxismin value.

Works perfectly!

Thanks

Damien.

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