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
446
Data series label on Pie Chart?
posted

We're transposing data tables for pie charts (swap rows/columns) and our first row after transposition contains the name of the data series.  This row seems to be ignored by UC/Pie (as would be expected), but we'd like to put it on the chart.  Aside from creating a coded datasource and re-creating the wheel in code-behind, isn't there an easy way to reference that first row (column, before swap) and use it as a title, etc?

Parents
  • 26458
    Offline posted

    I think the simplest solution would be to put the labels from the first row into a string array.
    You can then set that array to be used for row labels:
    ultraChart.Data.SetRowLabels(stringArray);

Reply Children
No Data