23 lines
639 B
C#
23 lines
639 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
using Volo.Abp.Domain.Values;
|
||
|
|
|
||
|
|
namespace Kurs.Platform.Queries;
|
||
|
|
|
||
|
|
public class ChartLabel : ValueObject
|
||
|
|
{
|
||
|
|
public string BackgroundColor { get; private set; } = "#f05b41";
|
||
|
|
public string CustomizeText { get; private set; }
|
||
|
|
public ChartFont Font { get; private set; }
|
||
|
|
public bool Visible { get; private set; }
|
||
|
|
public string Format { get; private set; }
|
||
|
|
|
||
|
|
protected override IEnumerable<object> GetAtomicValues()
|
||
|
|
{
|
||
|
|
yield return BackgroundColor;
|
||
|
|
yield return CustomizeText;
|
||
|
|
yield return Font;
|
||
|
|
yield return Visible;
|
||
|
|
yield return Format;
|
||
|
|
}
|
||
|
|
}
|