internal SpreadChartElement(SpreadChartBase chart) { this._isAutomaticFill = true; this._isAutomaticStroke = true; this._suspendState = new WorkingState(); this._chart = chart; }
internal void UpdateTextReference() { SpreadChartBase chart = this.ChartBase; if (chart != null) { this.TextReference = FormulaUtility.Formula2Expression(chart.Sheet, this.TextFormula); } }
void UpdateTextStyle() { if (this.TextForamt != null) { double?richTextFontSize = RichTextUtility.GetRichTextFontSize(this.TextForamt.TextParagraphs); if (richTextFontSize.HasValue && richTextFontSize.HasValue) { this.FontSize = richTextFontSize.Value; } this.FontStyle = RichTextUtility.GetRichTextFontStyle(this.TextForamt.TextParagraphs); this.FontWeight = RichTextUtility.GetRichTextFontWeight(this.TextForamt.TextParagraphs, FontWeights.Bold); SpreadChartBase chart = this.ChartBase; if (chart != null) { this.Foreground = RichTextUtility.GetRichTextFill(this.TextForamt.TextParagraphs, chart.Worksheet.Workbook); } } }
internal SpreadChartTextElement(SpreadChartBase chart) : base(chart) { this._textSeries = new StringSeriesCollection(); this._textOrientation = 0; }
/// <summary> /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.ChartChangedBaseEventArgs" /> class. /// </summary> /// <param name="chart">The chart.</param> /// <param name="chartArea">The chart area.</param> /// <param name="property">The property.</param> public ChartChangedBaseEventArgs(SpreadChartBase chart, Dt.Cells.Data.ChartArea chartArea, string property) { this.Chart = chart; this.Property = property; this._chartArea = chartArea; }
internal DataSeriesCollection(SpreadChartBase chart, ChartArea area) : base(chart, area) { }
internal virtual void SetChartInternal(SpreadChartBase chart) { this._chart = chart; }
internal ChartTitle(SpreadChartBase owner) : base(owner) { this.DefaultAxisTitle = ResourceStrings.DefaultAxisTitle; this.DefaultChartTitle = ResourceStrings.DefaultChartTitle; }
internal SpreadChartElementCollection(SpreadChartBase chart, ChartArea area) { this._chart = chart; this._area = area; }