dw Report post Posted November 24, 2009 (edited) I have the following 2D bar chart setup: X axis - date (each bar is 1 day) Y axis - sales revenue One set of data (date, revenue) The date range spans 2-3 months. Straightforward enough... My question: is it possible to display month labels underneath groups of bars? Due to the x-axis spanning 2-3 months, there needs to be a clear visual separation for the months, whilst keeping it a continuous linear progression of dates. i.e. the x-axis may span dates 20/09 to 23/11. so we want to show "September" centred underneath bars 20/09-30/09, "October" underneath dates 01/10-31/10 and "November" underneath dates 01/11-23/11? What I've tried/found: Looking through the API/documentation I could only find grouping the months into "datasets" and setting up a "category" for each one. The only problem with that is it would group the days of each month next to eachother - whereas they need to be sequential... Does it need to be multi-series? Any thoughts? Is it possible - and if so how? Thanks. Edited November 24, 2009 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted November 24, 2009 Hello, Welcome to FusionCharts Forum. You can consider using the MSColumn2D.swf for this ? However, the dates cannot be shown as labels. We can show them using the displayValue attribute. I am attaching an example XML for your reference. I hope this helps you. chart.zip Share this post Link to post Share on other sites
dw Report post Posted November 30, 2009 Hi - that's a great help. Thanks very much! Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted November 30, 2009 Hi, You are most welcome. Glad that could help you. Happy FusionCharting. Share this post Link to post Share on other sites
Vikasdotnetman Report post Posted December 1, 2009 Hi Madhumita, Can we use this feature-attribute(displayValue) in fusion charts free?? Regards Vikas Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 1, 2009 Hello Vikas, I'm afraid, the displayValue functionality is not present in FusionCharts Free. You can however modify the source code to achieve the same. Share this post Link to post Share on other sites
dw Report post Posted January 11, 2010 (edited) Further to the original question/solution of using a multi-series column chart; this has worked great so far and thanks for your input. However there are some further cosmetic tweaks I'd like to make: a) How can we reduce the gap between data sets in the plot? I'd like them all to appear next to each other as if a single data set. I'm using date ranges like 10/11/2009 to 10/01/2010 - i.e. part way into a month. Use of a multi-series column chart requires a complete set of data for each category (month) - i.e. 31 days = 31 datasets - with 3 items each. Therefore I have had to pad out the 'unavailable' days with 0 values. This leaves a big gap at the start and end of the chart plot. How do we eliminate this gap? Edited January 11, 2010 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 11, 2010 Hello, a) How can we reduce the gap between data sets in the plot? I'd like them all to appear next to each other as if a single data set. If you want the datasets to stick to each other please use plotSpacePercent='0' in the <chart> element. I'm using date ranges like 10/11/2009 to 10/01/2010 - i.e. part way into a month. Use of a multi-series column chart requires a complete set of data for each category (month) - i.e. 31 days = 31 datasets - with 3 items each. Therefore I have had to pad out the 'unavailable' days with 0 values. This leaves a big gap at the start and end of the chart plot. How do we eliminate this gap? Could you please send us the XML so that we may find a workaround for this issue? As of now, there is no functionlity to eliminate the gap. Looking forward to your reply. Share this post Link to post Share on other sites
dw Report post Posted January 11, 2010 (edited) plotSpacePercent did the trick - thanks. As for the side gaps - attached is the XML... any ideas appreciated! data.xml Edited January 11, 2010 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 11, 2010 Hello, Setting canvasPadding="0" would have helped. But since you have loads of empty sets in the beginning of November and end of January, the chart is leaving an empty space for the empty sets, which can not be deleted. Share this post Link to post Share on other sites
droberts Report post Posted January 14, 2010 Hi Madhumita, Could you please re-post that zip file you gave as an example (the one in the second post of this thread)? When I try to download the zip file, it returns me to the main forum page. Thanks, Dan Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 14, 2010 Hello Dan, You need to be logged onto the forum while you are downloading a file. Otherwise it will always direct to the main forum page. Share this post Link to post Share on other sites