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
245
line chart row series labels
posted

HI,

 I have a 2d line chart that needs to have labels on the x axis of weeks 1 to 52, and underneath it series labels of month name.

 I have already written the follwing and I can get my row labels showing ok:

line_chart.Data.SwapRowsAndColumns = true

line_chart.Data.UseRowLabelsColumn = true

line_chart.Data.RowLabelsColumn = 3

l get row labels of weeks 1 to 52 using this code.

 

How do I get a series row label underneath my row labels? I have another column in my datatable with the month name for each row.

 

Thanks in advance.

Parents
No Data
Reply
  • 26458
    Offline posted

    Unfortunately, the LineChart does not allow series labels.  Each line represents one row of data. Each series label also describes one row of data and therefore must somehow be specific to that particular line. Since each line spans the entire width of the chart, there is no way to tell which series label describes which series. If you need to subdivide your labels into further logical groups, I think using annotations to just put a text label below the axis labels is the best bet.

Children