We need to reduce the width of all columns without changing total number of columns or width of chart.
We need this in order to provide more horizontal space between columns, any suggestions will be highly appreciated!
How many series do you have in the chart? You can adjust the Gap property on the CategoryXAxis to adjust the amount of space between categories, thus making the columns thinner. But there is currently no way to put space between individual columns inside a category.
Hope this helps!
-Graham
Bingo! Gap is exactly what I was looking for ..thanks!
Can we change the width of column series now? or this hasn't been added as yet?
Hello,
The approach Graham suggested seems to be the best way to change the Column’s Width, because this elements are Rectangles and their Width is set dynamically by code in order to look properly during zooming and scrolling.
Awesome it solved :).
Hello Ashwin,
This has not yet been implemented, as there is still a tiny gap between the columns of a ColumnSeries when setting the Gap of the corresponding XAxis to 0. If you would like to see this implemented, I would recommend adding this product idea to our community site where you will be in direct communication with our product management teams.
As a workaround to this issue, I would recommend handling the RefreshCompleted event of the XamDataChart. In doing this, you can get the Canvas element for the ColumnSeries that you are looking to modify from its RootCanvas property. From there, you can loop through that Canvas' Children collection and get all Rectangle elements and increment their Width properties.
I am attaching a sample project to demonstrate the above.
Please let me know if you have any other questions or concerns on this matter.
XamDataChartNoGap.zip
Any update on this even i require
Bummer - I was hoping this was something simple also!
Thanks
After some research Placing Columns one to another has been determine as a new Product Idea. I have sent your Product Idea directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this Product Idea is PI12100084
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com