using System.Drawing; using Core.Common.Controls.Charting; using Core.Common.Controls.Charting.Series; using Core.Common.Utils.Attributes; using Core.Plugins.Charting.Properties; namespace Core.Plugins.Charting.Property { [ResourcesDisplayName(typeof(Resources), "PointChartSeriesProperties_DisplayName")] public class PointChartSeriesProperties : ChartSeriesProperties { [ResourcesCategory(typeof(Resources), "Charting_Categories_PointStyle")] [ResourcesDisplayName(typeof(Resources), "PointChartSeriesProperties_PointerColor_DisplayName")] [ResourcesDescription(typeof(Resources), "PointChartSeriesProperties_PointerColor_Description")] public Color Color { get { return data.Color; } set { data.Color = value; } } [ResourcesCategory(typeof(Resources), "Charting_Categories_PointStyle")] [ResourcesDisplayName(typeof(Resources), "PointChartSeriesProperties_PointerOutlineColor_DisplayName")] [ResourcesDescription(typeof(Resources), "PointChartSeriesProperties_PointerOutlineColor_Description")] public Color LineColor { get { return data.LineColor; } set { data.LineColor = value; } } [ResourcesCategory(typeof(Resources), "Charting_Categories_PointStyle")] [ResourcesDisplayName(typeof(Resources), "PointChartSeriesProperties_PointerLineVisible_DisplayName")] [ResourcesDescription(typeof(Resources), "PointChartSeriesProperties_PointerLineVisible_Description")] public bool PointerLineVisible { get { return data.LineVisible; } set { data.LineVisible = value; } } [ResourcesCategory(typeof(Resources), "Charting_Categories_PointStyle")] [ResourcesDisplayName(typeof(Resources), "PointChartSeriesProperties_Size_DisplayName")] [ResourcesDescription(typeof(Resources), "PointChartSeriesProperties_Size_Description")] public int Size { get { return data.Size; } set { data.Size = value; } } [ResourcesCategory(typeof(Resources), "Charting_Categories_PointStyle")] [ResourcesDisplayName(typeof(Resources), "PointChartSeriesProperties_PointerShape_DisplayName")] [ResourcesDescription(typeof(Resources), "PointChartSeriesProperties_PointerShape_Description")] public PointerStyles Style { get { return data.Style; } set { data.Style = value; } } } }