public ILTickWrapper(ILTick source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, String.IsNullOrEmpty(name) ? "Tick" : name, label) { this.source = source; this.label = new ILLabelWrapper(source.Label, editor, path, ILTickCollection.TickLabelTag); }
public ILLegendItemWrapper(ILLegendItem source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, ILLegendItem.LegendItemTag), String.IsNullOrEmpty(label) ? GetLegendItemLabel(source) : label) { this.source = source; this.label = new ILLabelWrapper(source.Label, editor, Path, ILLegendItem.LabelTag); }
public ILAxisWrapper(ILAxis source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, String.IsNullOrEmpty(name) ? source.AxisName.ToString().Replace(" ", String.Empty) : name, String.IsNullOrEmpty(label) ? source.AxisName.ToString() : label) { this.source = source; this.label = new ILLabelWrapper(source.Label, editor, Path, ILAxis.LabelTag, "AxisLabel"); scaleLabel = new ILLabelWrapper(source.ScaleLabel, editor, Path, ILAxis.ScaleLabelTag, "ScaleLabel"); ticks = new ILTickCollectionWrapper(source.Ticks, editor, Path, "TicksCollection"); gridMajor = new ILLinesWrapper(source.GridMajor, editor, Path, ILAxis.GridMajorLinesTag, "GridMajor"); gridMinor = new ILLinesWrapper(source.GridMinor, editor, Path, ILAxis.GridMinorLinesTag, "GridMinor"); }