Click or drag to resize

BarSeries Class

LightningChart .NET Help
Bar series. Bars series present the data as vertical column(s).
Inheritance Hierarchy

Namespace: LightningChartLib.UWP.ChartingMVVM.SeriesXY
Assembly: LightningChart.UWP.ChartingMVVM (in LightningChart.UWP.ChartingMVVM.dll) Version: 11.0.1
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[SerializableAttribute]
public class BarSeries : SeriesBaseXY

The BarSeries type exposes the following members.

Constructors
 NameDescription
Public methodBarSeries Constructor for Form designer list editor.
Public methodBarSeries(ViewXY, AxisX, AxisY) Constructor.
Top
Properties
 NameDescription
Public propertyAllowUserInteraction Gets or sets if user interaction is allowed. This is a dependency property.
(Inherited from SeriesBaseXY)
Public propertyAssignXAxisIndex Gets or sets index of X axis assigned to this series. Give -1 when you don't want to assign it yet to any X axis. This is a dependency property.
(Inherited from SeriesBaseXY)
Public propertyAssignYAxisIndex Gets or sets index of Y axis assigned to this series. Give -1 when you don't want to assign it yet to any Y axis. This is a dependency property.
(Inherited from SeriesBaseXY)
Public propertyBarThickness Gets or sets bar width in pixels. This is a dependency property.
Public propertyBaseLevel Gets or sets base level value. This is a dependency property.
Public propertyBorderColor Gets or sets border color. This is a dependency property.
Public propertyBorderWidth Gets or sets border width. This is a dependency property.
Public propertyCursorTrackEnabled Gets or sets if cursor tracking is enabled. This is a dependency property.
Public propertyDisableDragToAnotherAxis Gets or sets if disable dragging from Y axis to another Y axis or from chart to another chart. This is a dependency property. Set this true if you want to zoom in the series area, and keep other user interactive device interactivity features available.
(Inherited from SeriesBaseXY)
Public propertyFill Gets or sets fill. This is a dependency property.
Public propertyHighlight Gets or sets highlight style. Item can be highlighted by user interactive device or by code. This is a dependency property.
(Inherited from HighlightingItemBase)
Public propertyIncludeInAutoFit Gets or sets if includes series values in automatic fit. This is a dependency property.
(Inherited from SeriesBaseXY)
Public propertyLabelStyle Gets or sets bar labels style. This is a dependency property.
Public propertyLegendBoxIndex Gets or sets legendbox index. This is a dependency property.
(Inherited from SeriesBaseXY)
Public propertyLimitYToStackSegment Gets or sets if limit Y draw range to segment area when y-axes are stacked. This is a dependency property.
(Inherited from SeriesBaseXY)
Public propertyShadow Gets or sets shadow below the bar. This is a dependency property.
Public propertyShowInLegendBox Gets or sets if enlists the series title text in Legend box of the chart. This is a dependency property.
(Inherited from SeriesBaseXY)
Public propertyTitle Gets or sets series title. This is a dependency property.
Public propertyValues Gets or sets series values. This is a dependency property.
Public propertyValuesCount Values count stored in the Values array.
Public propertyVisible Gets or sets series visible state. This is a dependency property.
(Inherited from SeriesBaseXY)
Top
Methods
 NameDescription
Public methodAddValue Add value to end of Values array
Public methodClear Clear all points
(Overrides SeriesBaseXYClear)
Public methodDeleteValue Delete a value by given index.
Public methodDeleteValuesBeforeX Delete values having smaller X value than given value.
Public methodDispose Release all resources used by this instance.
(Inherited from ChartNode)
Public methodGetBarRectangles Get rendered bar rectangles of all data items of this series.
Public methodGetClipAreas Get clipping areas.
(Inherited from SeriesBaseXY)
Public methodGetText Get Text by given index.
Public methodGetXValue Get X value by given index.
Public methodGetYValue Get Y value by given index.
Public methodInvalidateData Series data has been modified directly by it's array. Use this method to notify chart that this series needs a refresh
(Inherited from SeriesBaseXY)
Public methodIsHighlighted returns true if the object is highlighted.
(Inherited from HighlightingItemBase)
Public methodIsPositionOver(Int32, Int32, Boolean) Is position over item.
(Overrides SeriesBaseXYIsPositionOver(Int32, Int32, Boolean))
Public methodIsPositionOver(Int32, Int32, Int32, Boolean) Is position over item.
Public methodLoadFromCSVAsync Loads series data from a CSV file.
(Overrides SeriesBaseXYLoadFromCSVAsync(StorageFile, SeparatorCSV))
Public methodRemoveHighlight Removes forced highlighting.
(Inherited from HighlightingItemBase)
Public methodSaveToCSVAsync Saves series data into CSV file.
(Overrides SeriesBaseXYSaveToCSVAsync(StorageFile, SeparatorCSV))
Public methodSetClipAreas Set clipping areas. Give null to disable all clip areas.
(Inherited from SeriesBaseXY)
Public methodSetHighlight Highlights the object.

This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set.


(Inherited from HighlightingItemBase)
Public methodSetProperCursor Set proper drag cursor. Default is hand.
(Inherited from UserInteractiveObject)
Public methodSetValue Set value by given index
Public methodSortData Sort data values ascending or descending. Makes big values to be drawn closest to axis zero if sort by ascending.
Public methodToString Item to string.
(Overrides SeriesBaseXYToString)
Top
Events
 NameDescription
Public eventBeforeSeriesRendering Occurs just before the rendering of the series takes place.
(Inherited from SeriesBaseXY)
Public eventDoubleTapped Item has been doubletapped.
(Inherited from UserInteractiveObject)
Public eventHighlightedStateChanged Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase)
Public eventOldDataDropped Occurs when old data points have been dropped.
Public eventPointerEntered Pointer has been moved over object.
(Inherited from UserInteractiveObject)
Public eventPointerExited Pointer has been moved outside of object.
(Inherited from UserInteractiveObject)
Public eventPointerPressed Pointer has been pressed down.
(Inherited from UserInteractiveObject)
Public eventPointerReleased Pointer has been released.
(Inherited from UserInteractiveObject)
Public eventTapped Item has been tapped.
(Inherited from UserInteractiveObject)
Public eventValueChangedInternallyEvent Value has changed internally by chart or by user manipulation of chart object.
(Inherited from ChartNode)
Top
Fields
 NameDescription
Public fieldStatic memberBarThicknessProperty Identifies the BarThickness dependency property.
Public fieldStatic memberBaseLevelProperty Identifies the BaseLevel dependency property.
Public fieldStatic memberBorderColorProperty Identifies the BorderColor dependency property.
Public fieldStatic memberBorderWidthProperty Identifies the BorderWidth dependency property.
Public fieldStatic memberCursorTrackEnabledProperty Identifies the CursorTrackEnabled dependency property.
Public fieldStatic memberFillProperty Identifies the Fill dependency property.
Public fieldStatic memberLabelStyleProperty Identifies the LabelStyle dependency property.
Public fieldStatic memberShadowProperty Identifies the Shadow dependency property.
Public fieldTag Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt)
Public fieldStatic memberTitleProperty Identifies the Title dependency property.
Public fieldStatic memberValuesProperty Identifies the Values dependency property.
Top
See Also