﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts Free / General Usage  / formatting X-axis labels to n decimal points / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Tue, 02 Dec 2008 06:29:12 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: formatting X-axis labels to n decimal points</title><link>http://www.fusioncharts.com/forum/Topic4858-40-1.aspx</link><description>thanks for confirming.&lt;br&gt;&lt;br&gt;Another question on the same type of graph, I'm currently using adjustDiv=0, since it seems to give me better Y-axis values than adjustDiv=1.  I would further like to force the Y-axis labels to show 2dp, in the same fashion as decimals=2 and forceDecimals=1 does on the data plots.  &lt;br&gt;&lt;br&gt;So for e.g., currently i get the following Y-axis labels / values,&lt;br&gt;&lt;br&gt;0 / 1.75 / 3.5 / 5.25 / 7&lt;br&gt;&lt;br&gt;and i wish to see them as,&lt;br&gt;&lt;br&gt;0.00 / 1.75 / 3.50 / 5.25 / 7.00</description><pubDate>Thu, 06 Mar 2008 16:31:38 GMT</pubDate><dc:creator>lovenoodles</dc:creator></item><item><title>RE: formatting X-axis labels to n decimal points</title><link>http://www.fusioncharts.com/forum/Topic4858-40-1.aspx</link><description>In that case you'll have to back-calculate in your XML generation script and provide the vlines and labelStep accordingly.</description><pubDate>Thu, 06 Mar 2008 12:26:13 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: formatting X-axis labels to n decimal points</title><link>http://www.fusioncharts.com/forum/Topic4858-40-1.aspx</link><description>thank you.  &lt;br&gt;&lt;br&gt;Still on 2d multi-series line graphs, how can i configure vertical div lines to show whenever there is a corresponding x-axis label displayed ?&lt;br&gt;&lt;br&gt;for e.g. i may pass the following xml,&lt;br&gt;&lt;br&gt;categories&lt;br&gt;category label='5'&lt;br&gt;category label='10'&lt;br&gt;category label='15'&lt;br&gt;category label='20'&lt;br&gt;category label='25'&lt;br&gt;categories&lt;br&gt;&lt;br&gt;in this case since there are only 5 x-axis labels, i want to show all 5, and therefore want 3 div lines (2 lost to the left and right edges of the graph).  &lt;br&gt;&lt;br&gt;if the number of categories grows big, i may wish to display only every Nth label.  I know i can use "labelStep" to do this.  But then, how can i guarantee that 1 vertical div line will appear for every label displayed?&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks again!</description><pubDate>Wed, 05 Mar 2008 00:13:24 GMT</pubDate><dc:creator>lovenoodles</dc:creator></item><item><title>RE: formatting X-axis labels to n decimal points</title><link>http://www.fusioncharts.com/forum/Topic4858-40-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;x-axis labels are treated as strings in FusionCharts, and as such you cannot round them.</description><pubDate>Tue, 04 Mar 2008 07:12:42 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>formatting X-axis labels to n decimal points</title><link>http://www.fusioncharts.com/forum/Topic4858-40-1.aspx</link><description>Hi, I am new to FusionCharts.  I am graphing a multi-series 2d line graph, in which the x-axis labels contain very small ecimals.  I wish to keep the value on the decimals(i.e. no rounding), but to round their display on the x-axis.  I wasn't able to find a switch suitable for this in the manual.&lt;br&gt;&lt;br&gt;For e.g., i may pass the following xml for a multi-series 2d line chart, &lt;br&gt;  &lt;br&gt;categories&lt;br&gt;  category label='0.04111111' &lt;br&gt;  category label='0.04211111' &lt;br&gt;  category label='0.04311111' &lt;br&gt;  category label='0.04611111' &lt;br&gt;  category label='0.05'&lt;br&gt;categories&lt;br&gt;&lt;br&gt;dataset seriesName='s1' &lt;br&gt;  set value='1' &lt;br&gt;  set value='2'&lt;br&gt;  set value='3'&lt;br&gt;  set value='4' &lt;br&gt;  set value='5'&lt;br&gt;dataset&lt;br&gt;&lt;br&gt;dataset seriesName='s2'&lt;br&gt;  set value='2' &lt;br&gt;  set value='3'&lt;br&gt;  set value='4' &lt;br&gt;  set value='5'&lt;br&gt;  set value='6'&lt;br&gt;dataset&lt;br&gt;&lt;br&gt;&lt;br&gt;i wish to see the x-axis labels rounded to 2 decimal points (not 3 or more due to space constraints), but retain their unrounded values as far as graphing is concerned.  &lt;br&gt;&lt;br&gt;That is, i would like to see the x-axis lablels: 0.04, 0.04, 0.04, 0.05, 0.05, but i still want to see the s1 and s2 data as though they are plotted against the true x-axis values passed, 0.04111111, 0.04211111 etc, like this,&lt;br&gt;&lt;br&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 4&lt;br&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 3&lt;br&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 3&lt;br&gt;&amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp &amp;nbsp 2&lt;br&gt;2&lt;br&gt;1&lt;br&gt;&lt;br&gt;0.04    &amp;nbsp &amp;nbsp 0.04  &amp;nbsp &amp;nbsp 0.04 ......&lt;br&gt;&lt;br&gt;&lt;br&gt;how can i achieve this?&lt;br&gt;&lt;br&gt;would i be able to do the same for the Y-axis ?&lt;br&gt;&lt;br&gt;thanks&lt;br&gt;</description><pubDate>Mon, 03 Mar 2008 00:32:08 GMT</pubDate><dc:creator>lovenoodles</dc:creator></item></channel></rss>