Grid Trekkor

Y-axis values and vertical divs question

Recommended Posts

I would like to show Y-axis values every five.  Example: -10, -5, 0, 5, 10, 15, 20, 25.  How can I do this?

 

Also, I would like to show a vertical div for every X-axis value.  Not sure how to do this either.  I can set the number of vertical divs, but not in a way that shows a div for each value.

Share this post


Link to post
Share on other sites

Hi,

 

As per your queries, the suggestions are as follows: 

1.  To show Y-axis values every five : It depends on the data values you give in the dataset.

Refer this JSFiddle link: http://jsfiddle.net/vishalika/s7t8F/718/

 

2. To show a vertical div for every X-axis value: Try using "vline" attribute for each label as show in the above JSfiddle. Also, refer this: http://www.fusioncharts.com/dev/basic-chart-configurations/vertical-lines.html

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi Vishalika, thank you for the reply.

 

1.  I'm not seeing how the data values are forcing the chart to display Y-axis every five.  I have data that varies from about -35 to 105.  Is there a way to force the chart to display Y-axis labels every 5?

 

2.  The fiddle shows a line between each label.  I tried adding "vline" : "1" inside of each label object (I am generating labels dynamically with javascript) and that doesn't work.

 

3.  Is it possible to make the X-axis labels have normal horizontal text?  As you can see the text is vertical.

 

Here is a sample of my chart:

 

5nfGWfG.jpg

Edited by Grid Trekkor

Share this post


Link to post
Share on other sites

Hi,

 

There are some attribute which will help you set the Y-axis as per your requirement.

 

1.   adjustDiv: FusionCharts XT automatically tries to adjust divisional lines and limit values based on the data provided. However, if you want to set your explicit lower and upper limit values and number of divisional lines, first set this attribute to false. That will disable automatic adjustment of divisional lines.  Range: 0/1

2. yAxisValuesStep: By default, all div lines show their values. However, you can opt to display every x(th) div line value using this attribute.  Range: 1 or above

3.   yAxisMinValue: This attribute helps you explicitly set the lower limit of the chart. If you don't specify this value, it is automatically calculated by FusionCharts XT based on the data provided by you. Range: Numeric Value

4. yAxisMaxValue: This attribute helps you explicitly set the upper limit of the chart. If you don't specify this value, it is automatically calculated by FusionCharts XT based on the data provided by you. Range: Numeric Value

5. numDivlines: Number of horizontal axis division lines that you want on the chart. Range: Numeric value > 0

 

For the X-axis label display, try setting "labelDisplay" attribute in the chart label. Using this attribute, you can customize the alignment of data labels (x-axis labels). There are 5 options: AUTO, WRAP, STAGGER, ROTATE or NONE. By default, this attribute is set to AUTO mode which means that the alignment of the data labels is determined automatically depending on the size of the chart. WRAP wraps the label text if it is too long to fit in one line. ROTATE rotates the labels vertically. STAGGER divides the labels into multiple lines.   Range: 'AUTO', 'WRAP':, 'STAGGER', 'ROTATE', 'NONE'

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi Vishalika,

 

Thanks for the reply.  

 

adjustDiv: the only way I could force a vertical div line on each value was to take the total number of values and subtract 2.  In my case, it's the days in the month minus 2.

 

However, I'm still having a problem with the Y-axis labels.  I played with yAxisMaxValue and yAxisMinValue, and they do help, but they still don't force values to be 5, 10, 15, 20, etc.  It appears that FusionCharts is distributing the Y-axis values evenly across the range that is provided.  Is there simply no way to force those values?  Most charts display 5, 10, 15, 20 by default.

 

X-axis labels: I needed to set labelDisplay to AUTO.  This forced horizontal text.  

 

Thanks again for all your help!

Share this post


Link to post
Share on other sites

98178 A political party is a political organization that typically seeks to attain and maintain political power within government, usually by participating in electoral campaigns, educational outreach or protest actions Although unemployment remains high and growth will be uneven the stateв s long-term economic.

 

GO to PHARMACY >>>>> http://worldwide.popular-pills.net/

 

86876 - http://grandiflora.net/node/61686

Although a constitution is a written document, there is also an unwritten constitution - 41323 - http://grandiflora.net/node/63669

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

Award-winning world economy news journalism. Discount Price For Motrin (Ibuprofen) from a pharmacy without a prescription

Where Can I Buy Pletal (Cilostazol) without a perscription shipped overnight

> http://grandiflora.net/node/63758 , 91703 -- http://grandiflora.net/node/63758 ,

Buy Free Online Pletal (Cilostazol) overnight no script mastercard accepted ,Order With Low Price Pletal (Cilostazol) cheap cod no rx USA ,

Order Easy Vigora (Sildenafil Citrate) drug without prescription

Discount Generic Pletal (Cilostazol) online saturday delivery

 

85450 - http://grandiflora.net/node/62057 ,12015, 51676 - http://grandiflora.net/node/62059 ,43538, 33456 - http://grandiflora.net/node/60983 ,5408, 21921 - http://grandiflora.net/node/61909 ,20441, 93193 - http://grandiflora.net/node/61830 ,81237, 96564 - http://grandiflora.net/node/65307

Share this post


Link to post
Share on other sites

52011 Although the economy of Greece had improved in recent decades due to the industrial development and tourism presently the country faces a large and severe economic. Economy Class Spacious design personal seatback monitors award-winning meals and over 1,800 channels of entertainment for your pleasure comfort and convenience.

 

GO to PHARMACY >>>>> http://worldwide.popular-pills.net/

 

66200 - http://grandiflora.net/node/63735

BBC News Venezuela recession confirmed as Maduro attacks US. - 11150 - http://grandiflora.net/node/61008

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

For many years, it was just a territory ruled by a king who was surrounded by a small elite group of warriors and court officials and it was basically rule by force over a larger mass of people Pharmacy Augmentin (Amoxicillin / Clavulanate) from u.s. pharmacy no prescription

Buying Cheap Arava (Leflunomide) next day no prescription USA

-- http://grandiflora.net/node/64059 , 21218 ... http://grandiflora.net/node/63425 ,

Where Can I Buy Arava (Leflunomide) without a perscription shipped overnight ,Buy Generic Arava (Leflunomide) no prescription fast delivery ,

Lowest Prices For Tegretol (Carbamazepine) online with visa

Buy Easy Arava (Leflunomide) USA no prescription needed

 

96329 - http://grandiflora.net/node/61112 ,86145, 18433 - http://grandiflora.net/node/62580 ,53613, 40527 - http://grandiflora.net/node/61904 ,6922, 12936 - http://grandiflora.net/node/63131 ,3896, 37288 - http://grandiflora.net/node/64446 ,9027, 72241 - http://grandiflora.net/node/63309

Share this post


Link to post
Share on other sites

79145 Creative economy Ebook download as PDF File pdf Text file txt or read book online. Although an all-out final nuclear holocaust is out of the question for man, nuclear blackmail comes into question not only on the issue of world peace but also on the issue of national sovereignty

 

GO to PHARMACY >>>>> http://quickly.popular-pills.net/

 

83325 - http://grandiflora.net/node/63425

That most persistent of all patriarchal societies, the Jewish, retains to a certain extent its tribal law in the Gentile cities of the West - 26857 - http://grandiflora.net/node/62307

 

GO to PHARMACY >>>>> http://norx.popular-pills.net

 

Anarchism shares with liberalism a radical commitment to individual freedom while rejecting liberalisms competitive property relations Buy Cheap Zebeta (Bisoprolol) generic fedex no prescription

Ordering Online Cefaclor no rx

- http://grandiflora.net/node/62687 , 69326 >> http://grandiflora.net/node/62660 ,

Where Can I Purchase Cefaclor medication cod ,Want Cefaclor overnight cheap ,

Order Cheap Online Panadol (Paracetamol) canadian online pharmacy

How To Order Cefaclor with no prescription

 

43261 - http://grandiflora.net/node/62552 ,26210, 92597 - http://grandiflora.net/node/61686 ,72600, 12718 - http://grandiflora.net/node/61536 ,95321, 49987 - http://grandiflora.net/node/65963 ,34634, 43851 - http://grandiflora.net/node/64499 ,89427, 2669 - http://grandiflora.net/node/64889

Share this post


Link to post
Share on other sites

42580 Although a constitution is a written document, there is also an unwritten constitution Originally, the state was a military institution

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

67225 - http://grandiflora.net/node/65860

What is a Mixed Economy with pictures wiseGEEK: clear. - 39285 - http://grandiflora.net/node/65611

 

GO to PHARMACY >>>>> http://quickly.popular-pills.net/

 

The mission of the New Economy Coalition NEC is to convene and support all those who might contribute to an economy that is restorative to people place and planet. Discount Detrol (Tolterodine) cod saturday delivery USA

Where Can I Buy Kamagra Pack (30 pills) cod cash delivery USA

-- http://grandiflora.net/node/62248 , 20334 ... http://grandiflora.net/node/63509 ,

How To Buy Kamagra Pack (30 pills) nextday shipping ,How To Buy Kamagra Pack (30 pills) with saturday delivery ,

Buy Online Cialis Black (Tadalafil) overnight delivery cod

Discount Price Kamagra Pack (30 pills) no prior script overnight USA

 

64239 - http://grandiflora.net/node/65560 ,4961, 54000 - http://grandiflora.net/node/62668 ,92282, 83757 - http://grandiflora.net/node/65988 ,81371, 14438 - http://grandiflora.net/node/64941 ,72959, 38265 - http://grandiflora.net/node/62285 ,22024, 19725 - http://grandiflora.net/node/64460

Share this post


Link to post
Share on other sites

16169 Commentary on economic trends. If it is wrongly assumed that the value of land is always the same, then there is of course no evolution of property whatever

 

GO to PHARMACY >>>>> http://quality.popular-pills.net/

 

62827 - http://grandiflora.net/node/62248

The more man becomes knowledgeable of an object be it physical or intellectual, the more it is appropriated - 70441 - http://grandiflora.net/node/63363

 

GO to PHARMACY >>>>> http://quality.popular-pills.net/

 

South America has a rapidly developing economy With many industries and a flourishing trade and import-export market it is fast becoming a economy with considerable. Where Can I Purchase Keftab (Cephalexin) online pharmacy

Discount Price For Epivir Hbv (Lamivudine) USA no prescription needed

-- http://grandiflora.net/node/65106 , 18298 >> http://grandiflora.net/node/60942 ,

Mail Order Discounts On Epivir Hbv (Lamivudine) without a prescription or membership ,Us Pharmacy Epivir Hbv (Lamivudine) saturday USA ,

Discount Generic Azulfidine (Sulfasalazine) from australian pharmacy no prescription

Where To Buy Epivir Hbv (Lamivudine) with no rx

 

62025 - http://grandiflora.net/node/62050 ,42652, 9360 - http://grandiflora.net/node/64966 ,4331, 68290 - http://grandiflora.net/node/62323 ,54937, 91640 - http://grandiflora.net/node/62281 ,71784, 8512 - http://grandiflora.net/node/63509 ,61688, 64897 - http://grandiflora.net/node/64014

Share this post


Link to post
Share on other sites

16354 Find cheap deals on economy car rentals and start saving today. A political party is a political organization that typically seeks to attain and maintain political power within government, usually by participating in electoral campaigns, educational outreach or protest actions

 

GO to PHARMACY >>>>> http://norx.popular-pills.net

 

31301 - http://grandiflora.net/node/65576

Orlando Economy SperlingViews. - 41874 - http://grandiflora.net/node/65466

 

GO to PHARMACY >>>>> http://quality.popular-pills.net/

 

Jan 07 2015s Maduro meets Chinas Xi amid hopes for new lifeline for recession-stricken economy. Licensed Pharmacy Xalatan 0.005% (Latanoprost) and no prescription

Buy Glycomet (Metformin) from australian pharmacy no prescription

-- http://grandiflora.net/node/64885 , 50284 >>> http://grandiflora.net/node/62900 ,

Discount Drugs Glycomet (Metformin) no prescription required USA ,Discount Price For Glycomet (Metformin) with no prescription USA ,

Get Ditropan (Oxybutynin) overnight without prescription

How Can I Get Glycomet (Metformin) online cheap no rx

 

26986 - http://grandiflora.net/node/65416 ,17670, 74001 - http://grandiflora.net/node/65106 ,67243, 10431 - http://grandiflora.net/node/63688 ,38289, 33128 - http://grandiflora.net/node/63658 ,98463, 96587 - http://grandiflora.net/node/65168 ,91050, 72989 - http://grandiflora.net/node/64495

Share this post


Link to post
Share on other sites

64891 If it is wrongly assumed that the value of land is always the same, then there is of course no evolution of property whatever com Economy Business and Finance Home.

 

GO to PHARMACY >>>>> http://worldwide.popular-pills.net/

 

70103 - http://grandiflora.net/node/62579

Example sentences with the word economy economy example sentences. - 87561 - http://grandiflora.net/node/61256

 

GO to PHARMACY >>>>> http://365.popular-pills.net/

 

What is Economy definition and meaning InvestorWords. Buy Cheap Zebeta (Bisoprolol) online legally

Order Online Generic Cefaclor no prescription united states

-- http://grandiflora.net/node/63877 , 28743 >> http://grandiflora.net/node/61340 ,

Discount Tablets Cefaclor free cod no script USA ,Cheap Cefaclor prescriptions online ,

Purchase Cheapest Panadol (Paracetamol) with no perscription USA

Purchase Online Cefaclor no prior prescription USA

 

21658 - http://grandiflora.net/node/63997 ,14177, 61157 - http://grandiflora.net/node/64941 ,54327, 58427 - http://grandiflora.net/node/65966 ,11766, 71394 - http://grandiflora.net/node/62335 ,63355, 52036 - http://grandiflora.net/node/63562 ,51052, 24658 - http://grandiflora.net/node/63678

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