This is a migrated thread and some comments may be shown as answers.

Legend- DataTable

0 Answers 53 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Fábio
Top achievements
Rank 1
Iron
Fábio asked on 10 Jan 2018, 06:20 PM
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

No answers yet. Maybe you can help?

Tags
Chart (HTML5)
Asked by
Fábio
Top achievements
Rank 1
Iron
Share this question
or