TXLSXChartSeries
TXLSXChartSeries The class belongs to the XLSX facade (lxHandleX) and is reached from the owning workbook or worksheet, so application code does not normally create instances directlyDirectionBarType: TXLSXChartErrBarType selection of xlsxErrBarBoth, xlsxErrBarPlus, xlsxErrBarMinus or xlsxErrBarUnknown; fresh instances start out as BothValueTypeNoEndCapValuePlusValueMinusValuePlusRange, MinusRange: independent one-dimensional local A1 custom error referencesPlusCache, MinusCache: read-only collection properties handing back independently owned TXLSXChartDataCache objectsBarType hangs on to the native both, plus or minus identity through reading, structured writing, clone and assignment; a custom single-sided error needs only its applicable side's data
Unknown, absent or wrongly cased wire identity stays Unknown, keeping unmodified opaque imports whilst refusing a structured rewrite
The setter goes through the workbook write guard and turns away out-of-range enum values without touching state
See single-sided portable errors for supported geometry and endpoint/cap conventions
LineVisible: Boolean defaults to True and joins the existing write guards, clone state and semantic identity
Setting False captures the current supported appearance and writes the hidden restoration profile; setting True brings it back and drops that extension
A visible main line disregards a stale memento, and a later hide captures the current main properties instead
Whilst hidden with a restoration memento, LineColorSet, LineWidthSet, LineColorRGB and LineWidthPoints reach that restoration state; explicit setters persist changes there, and RGB assignment wipes the previous system-colour identity
Supported cached system colours keep their standard name and lastClr value, but portable recording uses the cached RGB
A hidden noFill line without a restoration memento stays hidden; making it visible falls back on its remaining represented width and fallback colour
Direct portable capture supports represented unsaved edits whilst preserving the source model and all the other exact chart projection checks
See hidden-line lifecycle and limits for native restoration, unsupported source profiles and scene-width behaviour
LineStyleSet picks a represented error shape, whilst LineColorSet and LineWidthSet independently flag stored RGB and width components; LineColorRGB is a six-digit RGB value and LineWidthPoints is a positive finite width quantized to integer EMU
The stored width range runs from one EMU to 1584 points; an assignment rounding below one EMU or beyond that range is refused without touching state
Clearing a component flag drops only that component on saving, and setting LineStyleSet to False resets the whole shape, both component flags and any unsupported source identity
Read-only LineAppearanceSupported tells complete represented main/restoration RGB or cached-system-colour profiles apart from opaque appearance metadata; unrelated title edits preserve opaque shapes, whilst direct line edits call for an explicit full reset first
With portable error controls switched on, each present stored component overrides its caller fallback independently; portable widths may not go past 100 points, even though the workbook model allows the wider legal stored range
See stored portable error appearance for supported XML, capture and restoration boundaries
With custom errors, every numeric cache overrides its scalar side; a lone index-zero value broadcasts, or a complete contiguous array supplies one value per plotted point
Setting PlusValue or MinusValue explicitly drops that side's range and cached identity, even when the assignment equals the previous scalar value
A different nonempty range clears stale cached values; an empty range keeps its cache as literal data
Callers may edit cache points but must not free the owned cache objects; clone copies them deeply, and every edit honours the workbook write guard
AttachOwner(AOwnerChart) rebinds the error bar to the chart that owns it and passes the same owner down to the owned PlusCache and MinusCache objects, so later cache or range edits hit the right workbook write guard
Capture works from existing caches without recalculation; refresh data caches explicitly after source-cell edits or take the existing structured-save refresh path
See portable custom error data for applicability, correspondence, resource and source-appearance limits