TXLSXChartSeries
TXLSXChartSeries The class is part of the XLSX facade (lxHandleX) and is reached through the owning workbook or worksheet; instances are not normally created directly by application codeDirectionBarType: TXLSXChartErrBarType selection of xlsxErrBarBoth, xlsxErrBarPlus, xlsxErrBarMinus or xlsxErrBarUnknown; new instances default to BothValueTypeNoEndCapValuePlusValueMinusValuePlusRange, MinusRange: independent one-dimensional local A1 custom error referencesPlusCache, MinusCache: read-only collection properties returning independently owned TXLSXChartDataCache objectsBarType retains native both, plus or minus identity through reading, structured writing, clone and assignment; a custom single-sided error requires only its applicable side's data
Unknown, absent or incorrectly cased wire identity remains Unknown, preserving unmodified opaque imports while refusing a structured rewrite
The setter uses the workbook write guard and rejects out-of-range enum values without changing state
See single-sided portable errors for supported geometry and endpoint/cap conventions
LineVisible: Boolean defaults to True and participates in existing write guards, clone state and semantic identity
Setting False captures the current supported appearance and writes the hidden restoration profile; setting True restores it and removes that extension
A visible main line ignores a stale memento, and a later hide captures the current main properties instead
While hidden with a restoration memento, LineColorSet, LineWidthSet, LineColorRGB and LineWidthPoints access that restoration state; explicit setters persist changes there, and RGB assignment clears the previous system-color identity
Supported cached system colors retain their standard name and lastClr value, but portable recording uses the cached RGB
A hidden noFill line without a restoration memento remains hidden; making it visible uses its remaining represented width and fallback color
Direct portable capture supports represented unsaved edits while preserving the source model and all other exact chart projection checks
See hidden-line lifecycle and limits for native restoration, unsupported source profiles and scene-width behavior
LineStyleSet selects a represented error shape, while LineColorSet and LineWidthSet independently indicate 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 is one EMU through 1584 points; an assignment that rounds below one EMU or exceeds that range rejects without changing state
Clearing a component flag removes 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 distinguishes complete represented main/restoration RGB or cached-system-color profiles from opaque appearance metadata; unrelated title edits preserve opaque shapes, while direct line edits require an explicit full reset first
With portable error controls enabled, each present stored component overrides its caller fallback independently; portable widths must not exceed 100 points, even though the workbook model supports the wider legal stored range
See stored portable error appearance for supported XML, capture and restoration boundaries
For custom errors, each numeric cache overrides its scalar side; one index-zero value broadcasts, or a complete contiguous array supplies one value per plotted point
Setting PlusValue or MinusValue explicitly removes that side's range and cached identity, including an assignment equal to the previous scalar value
A different nonempty range clears stale cached values; an empty range retains its cache as literal data
Callers can edit cache points but must not free the owned cache objects; clone copies them deeply, and all edits honor the workbook write guard
AttachOwner(AOwnerChart) rebinds the error bar to its owning chart and forwards the same owner to the owned PlusCache and MinusCache objects, so later cache or range edits resolve the correct workbook write guard
Capture uses existing caches without recalculation; explicitly refresh data caches after source-cell edits or use the existing structured-save refresh path
See portable custom error data for applicability, correspondence, resource and source-appearance limits