ScottPlot.NET
A Coxcomb chart is a pie graph where the angle of slices is constant but the radii are not.
  • This page contains recipes for the Coxcomb Chart category.
  • Visit the Cookbook Home Page to view all cookbook recipes.
  • Generated by ScottPlot 4.1.45 on 5/9/2022

Coxcomb Chart

A Pie chart where the angle of slices is constant but the radii are not.

var plt = new ScottPlot.Plot(600, 400);

double[] values = { 11, 16, 7, 3, 14 };
var coxcomb = plt.AddCoxcomb(values);
coxcomb.FillColors = plt.Palette.GetColors(5, 0, .5);
coxcomb.SliceLabels = new string[] { "bikes", "blimps", "subs", "saucers", "rockets" };

plt.SaveFig("coxcomb_quickstart.png");

Coxcomb Chart with icons

A Pie chart where the angle of slices is constant but the radii are not, icons are used for quick reference.

var plt = new ScottPlot.Plot(600, 400);

double[] values = { 11, 16, 7, 3, 14 };
var coxcomb = plt.AddCoxcomb(values);
coxcomb.CategoryImages = CategoryImages;
coxcomb.FillColors = plt.Palette.GetColors(5, 0, .5);
plt.Legend();

plt.SaveFig("coxcomb_iconValue.png");