Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2745
Column chart formatting questions...
posted

Hello!

I am new to the chart control and I have some questions.

I have created a simple data table to act as data source. It contains 3 columns, Label, Sales and Budget. The Label column is used as Labels on the x-axis.

1. How do I change the name of the Columns? What I mean is the name showed in the legend. Sales, Budget are english names and I would like to localize.

These names also showed up on the x-axis but I found a way to hide those labels.

2. Can I increase the gap between the vertical x-axis labels and the chart itself? I think that the labels are a bit close.

3. Is 0 the standard min value of the y-axis or do I have to change this to be sure in the future.?

4. How can I change the format of the values showing up when I run a the mouse over a column. The Y-axis was created using this code:

gantSalesBudget.Axis.Y.Labels.ItemFormatString =

"<DATA_VALUE:### ### ##0> sek"

Thanks!