HotXLS Docs

TXLSChartSeries class

Unit: lxChart
Single classic XLS chart series with category and value references

Description

Single classic XLS chart series with category and value references. The object is reached through TXLSCustomChart.GetChartModel and is not normally created directly by application code

Fields

Index: Integer — zero-based position in the model's series list
Label_: WideString — literal series caption (the trailing underscore avoids the Label identifier)
SeriesType: TXLSChartSeriesType — chart family declared by the Series record (cstUnknown, cstBar, cstLine, cstArea, cstPie, cstScatter, cstRadar, cstDoughnut)
CategoryFormula, ValuesFormula, SeriesFormula: WideString — decoded BRAI category, value, and series-name references
ChartGroup: Integer — 0 for the primary axis group, 1 for the secondary axis group
HasLine, LineRgb, LineStyle — decoded LineFormat stroke state and colour
HasFill, FillRgb, FillPattern — decoded AreaFormat fill state, colour, and pattern
HasFillTheme, FillThemeColor, FillThemeTint — represented theme fill from GelFrame; the theme index order runs 0 light 1, 1 dark 1, 2 light 2, 3 dark 2, 4..9 accent 1..6, 10 hyperlink, then 11 followed hyperlink
HasMarker, MarkerSymbol, MarkerSize — decoded MarkerFormat state; MarkerSymbol uses 0 none, 1 square, 2 diamond, 3 triangle, 8 circle, and MarkerSize remains the raw BIFF twip value
MarkerBorderColor, MarkerFillColor: LongWord — decoded marker outline and fill colours
ShowValue, ShowPercent, ShowLabelAndPerc, ShowCategoryName, ShowSeriesName, ShowBubbleSize: Boolean — data-label elements decoded from AttachedLabel and DataLabExtContents
LabelSeparator: WideString — decoded separator between data-label elements

Properties

MarkerSizePoints: Double — marker diameter converted from the stored twips
TrendlineCount: Integer — number of decoded trendlines owned by the series
ErrorBarCount: Integer — number of decoded error-bar entries owned by the series

Methods

AddTrendline: TXLSChartTrendline — appends an empty typed trendline
GetTrendline(Index) — zero-based access to one trendline
AddErrorBars: TXLSChartErrorBars — appends an empty typed error-bar entry
GetErrorBar(Index) — zero-based access to one error-bar entry

Trendline and error-bar objects

TXLSChartTrendline exposes Regt (0 polynomial, 1 exponential, 2 logarithmic, 3 power, 4 moving average or 5 linear), NOrder (polynomial order or moving-average period), NumIntercept, FDispEq, FDispRSqr, NumForecast, NumBackcast, and Name
TXLSChartErrorBars exposes Sertm (1 Y+, 2 Y−, 3 X+, 4 X−), Ebsrc (1 percent, 2 fixed value, 3 standard deviation, 4 standard error, or 5 custom), TeeTop, NumValue, and Cnum

See also