#define Graph_And_Chart_PRO using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace ChartAndGraph { public class ItemLabels : AlignedItemLabels { /// /// the number of fraction digits in the text labels /// [Range(0, 7)] [SerializeField] private int fractionDigits; /// /// the number of fraction digits in the text labels /// public int FractionDigits { get { return fractionDigits; } set { fractionDigits = value; RaiseOnUpdate(); } } protected override Action Assign { get { return (x, clear) => { if (clear) { if (x.ItemLabels == this) x.ItemLabels = null; } else { if (x.ItemLabels != this) x.ItemLabels = this; } }; } } } }