/
ivan
/
ModMas
Обзор
Документация
Войти
/
ivan
/
ModMas
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
OpenFlash/Charts/pie.cs
51 строка
1 KB
i.krivokon
Initial commit
13 мар 2026, 13:49
13 мар 2026, 13:49
00d9fb6
Код
Авторство
О чём код?
using System.Collections.Generic; using OpenFlashChartLib.Json; namespace OpenFlashChartLib.Charts { public class Pie : Chart<PieValue> { public Pie() { ChartType = "pie"; Border = 2; Colours = new[] {"#d01f3c", "#356aa0", "#C79810"}; Alpha = 0.8; Animate = true; } [JsonProperty("colours")] public IEnumerable<string> Colours { get; set; } [JsonProperty("border")] public int Border { get; set; } [JsonProperty("alpha")] public double Alpha { get; set; } [JsonProperty("animate")] public bool Animate { get; set; } [JsonProperty("start-angle")] public double StartAngle { get; set; } [JsonProperty("style")] public string Style { get; set; } [JsonProperty("gradient-fill")] public bool GradientFeel { get; set; } [JsonProperty("no-labels")] public bool NoLabels { get; set; } public override bool X_AxisSpecified { get{return false;} } public override bool Y_AxisSpecified { get { return false; } } } }