Sign in to follow this  
iand123

Horizontal Lines When Min And Max Y Values Are Set

Recommended Posts

I am trying to use a Line chart with v3.2.1. When i set the Min and Max Y Axis Values i lose the inbetween horizontal lines and only have the top and bottom. I have tried setting showYAxisValues='1' but this makes no difference.

 

Here is the XML

 


<chart caption="Share Price (GBX)" bgSWF="../content/media/chart-bg.png" bgSWFAlpha="100" bgAlpha="0" canvasBgAlpha="0" showBorder="0" subcaption="" xAxisName="Day" yAxisName="Share Price - Bid" formatNumber="1" showYAxisValues="1" yAxisMinValue="177.87" yAxisMaxValue="190.92">
 <set name="11 Dec" value="181.50" hoverText="11 Dec" />
 <set name="" value="181.50" hoverText="12 Dec" />
 <set name="" value="182.97" hoverText="13 Dec" />
 <set name="" value="181.98" hoverText="14 Dec" />
 <set name="" value="181.84" hoverText="15 Dec" />
 <set name="" value="180.54" hoverText="16 Dec" />
 <set name="17 Dec" value="182.31" hoverText="17 Dec" />
 <set name="" value="182.50" hoverText="18 Dec" />
 <set name="" value="182.50" hoverText="19 Dec" />
 <set name="" value="186.24" hoverText="20 Dec" />
 <set name="" value="186.01" hoverText="21 Dec" />
 <set name="" value="187.18" hoverText="22 Dec" />
 <set name="" value="187.49" hoverText="23 Dec" />
 <set name="24 Dec" value="187.67" hoverText="24 Dec" />
 <set name="" value="188.00" hoverText="25 Dec" />
 <set name="" value="188.00" hoverText="26 Dec" />
 <set name="" value="188.00" hoverText="27 Dec" />
 <set name="" value="188.00" hoverText="28 Dec" />
 <set name="" value="185.26" hoverText="29 Dec" />
 <set name="" value="183.76" hoverText="30 Dec" />
 <set name="31 Dec" value="181.10" hoverText="31 Dec" />
 <set name="" value="181.10" hoverText="02 Jan" />
 <set name="" value="181.10" hoverText="02 Jan" />
 <set name="" value="181.10" hoverText="03 Jan" />
 <set name="" value="181.10" hoverText="04 Jan" />
 <set name="" value="181.10" hoverText="05 Jan" />
 <set name="" value="185.84" hoverText="06 Jan" />
 <set name="07 Jan" value="185.56" hoverText="07 Jan" />
 <set name="" value="185.00" hoverText="08 Jan" />
 <set name="" value="185.00" hoverText="09 Jan" />
 <set name="10 Jan" value="185.70" hoverText="10 Jan" />
</chart>

Edited by iand123

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

Welcome to FusionCharts Forum!smile.gif

You need to set following attributes inside the <chart> element:

<numDivLines>- specifies number of horizontal axis divisional lines you want on the chart.

<adjustDiv> - if you want to set your explicit lower and upper limit values and number of divisional lines, first set this attribute to false, i.e. 0

Please find the modified code attached.

Hope this helps.smile.gif

testline.xml

Edited by Angie

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