visifire 饼状图加图例只需要在 DataSeries 中将 ShowInLegend 属性 设置为true
Visifire.Charts.Chart thisChart = new Chart();
Title title = new Title();
title.Text = "";
// thisChart.Titles.Add(title);
thisChart.ZoomingEnabled = true;
thisChart.IndicatorEnabled = true;
thisChart.ToolBarEnabled = true;
thisChart.Theme = "Theme2";
thisChart.View3D = true;
Axis axisX = new Axis();
thisChart.AxesX.Add(axisX);
Axis axisY1 = new Axis();
axisY1.AxisType = AxisTypes.Primary;
axisY1.AxisMinimum = 0;
axisY1.Title = "总数(个)";
thisChart.AxesY.Add(axisY1);
DataSeries dataSeries;
d