Is it possible in ultracharts to create sub column headers as shown in the attachment? if yes then how many levels sub headers can be created?
Line charts don't have use for series labels, because each line spans the entire width of the chart control. LineChart X axis labels can only have ItemLabels. If you need to place text along the axis, you can use annotations or create custom text labels using FillSceneGraph event and adding Text primitives to the chart's scenegraph.
I would like to have the same functionallity, except that I would like to use it in a line chart. It seems like the UltraChart doesn't support this with a line chart. I have tried to change the settings of Axis.X.Labels.SeriesLabels, but haven't found anything that really works. The custom option didn't see to do anything. I Visible property is set to true.
Thanks for any information.
Yes, you should be able to use row layout for multiple headers. There are samples installed with the product that demonstrate the use of row layouts. If you need help using that feature, I would suggest posting on the WinGrid forums.
ok thanks.
Another quick question, the picture that I provided in my first post, is it possible to have an ultrawingrid structured like that? To have a column that is divided into sub-columns and then data.
It's the default behavior of the chart. Suppose you bind your chart to this table:DataTable dt = new DataTable();dt.Columns.Add("col1", typeof(string));dt.Columns.Add("col2", typeof(int));dt.Columns.Add("col3", typeof(int));dt.Rows.Add( new object[{"Series1", 10, 20});dt.Rows.Add( new object[{"Series2", 30, 40});
chart.Data.DataSource = dt;
The result is the attached image. You should see 2 levels of labels: series labels and column labels.