Hello,
I explain what i want to do: for each day of Month, i have a numeric Data but it didnt work.
UltraChart2.ChartType = ChartType.ColumnChart; UltraChart2.LoadPreset(preset.GetFilePath(), true);
columnData.Columns.Add("Day", typeof(int)); columnData.Columns.Add("Value", typeof(double)); columnData.Rows.Add(1, 3400); columnData.Rows.Add(2, 2300); columnData.Rows.Add(3, 5994);
UltraChart2.DataSource = columnData; UltraChart2.DataBind();
but i get always in my Chart (Day,3400) etc.....and not (1, 3400)etc.....
And if i just one Column create, i dont have the name of Column as numeric(Day)
i dont know if you understand what i mean.
Thanks
If you change the type of the 'Day' column to string, its contents will be used as row labels and you should get the result you're looking for.
I change 'Day' Column to string and now as row labels i have 'Value' and not 1, 2, 3 etc... Thanks