Legend- DataTable

1 posts, 0 answers
  1. Fábio
    Fábio avatar
    12 posts
    Member since:
    Oct 2017

    Posted 10 Jan 2018 Link to this post

    Hello,

    I'm trying to load a pie chart from a datatable dynamically.

    I created a new ChartSeries and added it to the chart.

    I have the following columns: Total and Account

    The total column I am loading as follows:

    Serie.DataYColumn = "Total"
    Series.DefaultLabelValue = "#% {# 0. ##%}"
    Serie.Type = Foot

    : I would now like to display the values of the Account column in the caption

    series.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels

    How do I display the Account column in the Legend?

    From now on,

    Automatic translation
Back to Top