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
1004
ColumnChart Data
posted

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

Parents Reply Children