Representation of a bar chart. A bar chart displays data using a number
of bars, each of which represents a
particular category as defined by the XAxis. The height
of each bar is proportional to a specific aggregation (for example to the sum
of the values in the category it represents) defined on the
YAxis. In addition bars can be split into further
categories by means of the ColorAxis.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Application.VisualsVisualContent
Spotfire.Dxp.Application.VisualsVisualization
Spotfire.Dxp.Application.VisualsTrellisVisualization
Spotfire.Dxp.Application.VisualsBarChart
Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(21, 0)] [ToolContextAttribute] public sealed class BarChart : TrellisVisualization
The BarChart type exposes the following members.
Properties
Name | Description | |
---|---|---|
BarWidth | Gets or sets the width of the bars.
Allowed values are in the range [0, 100].
| |
ColorAxis |
Gets the Axis by which coloring in the plot is made.
| |
CompensateForMissingTimeSeriesValues |
Gets or sets a value indicating whether the visualization should inject empty values for missing time series data.
| |
Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
Data | Gets the plot data.
(Inherited from Visualization.) | |
DefaultFont | Obsolete.
Gets or sets the default font for the plot.
(Inherited from TrellisVisualization.) | |
DefaultFontMetadata |
Gets or sets the default font for the plot.
(Inherited from TrellisVisualization.) | |
Description | Gets or sets the plot description.
(Inherited from Visualization.) | |
Details |
Gets the details object that controls how tooltips are displayed in this plot.
| |
FittingModels |
Gets the fitting models.
| |
HorizontalLegend | Gets the horizontal legend object for this plot.
(Inherited from Visualization.) | |
HundredPercentBars |
Gets or sets a flag indicating if all bars in this plot should be
drawn with maximum size.
| |
IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
LabelCompleteBar |
Gets or sets a value indicating whether the complete bar shall be
labeled or not.
| |
LabelFont | Obsolete.
Gets or sets the font used for the labels.
| |
LabelFontMetadata |
Gets or sets the font used for the labels.
| |
LabelOrientation | Gets or sets label orientation of this plot.
| |
LabelPercentageDecimalDigits | Gets or sets the number of decimal digits for percentages.
Allowed values are 0 through 6.
| |
LabelSegments |
Gets or sets a value indicating whether or not bar segments shall be
labeled.
| |
LabelVisibility | Gets or sets a value indicating label visibility.
| |
Legend | Gets the legend object for this plot.
(Inherited from Visualization.) | |
MaxNumberOfLabels | Gets or sets a value indicating max number of drawn labels.
Allowed values are 0 to 200.
| |
Orientation |
Gets or sets the orientation of the bars.
| |
ReverseSegmentOrder |
Gets or sets a value indicating whether segments in stacked bars should be shown in reversed order.
| |
SegmentLabelInformationType |
Gets or sets the type of the segment label information.
| |
ShowDescription | Gets or sets a flag indicating whether to show the description or not.
(Inherited from Visualization.) | |
ShowShadowBars | Gets or sets a flag indicating if shadow bars should be drawn.
| |
SortedBars | Gets or sets a value indicating whether or not the bars
in this plot are sorted.
| |
SortSegmentsBySize |
Gets or sets a value indicating whether segments in stacked bars should be ordered by size.
| |
StackMode |
Gets or sets the stack mode.
| |
SupportsTransparency |
Gets a value indicating whether transparency is supported.
(Inherited from Visualization.) | |
Title | Gets or sets the Visual's title.
(Inherited from VisualContent.) | |
Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) | |
Transparency | Gets or sets the transparency for the plot.
(Inherited from Visualization.) | |
Trellis | Gets the trellis.
(Inherited from TrellisVisualization.) | |
TypeId | Gets the type identifier for the visual.
(Inherited from VisualContent.) | |
UseSeparateColorForMarkedItems |
Gets or sets a value indicating whether to use a separate color for marked items.
(Inherited from Visualization.) | |
Visual | Gets the visual instance, or null if this instance is not owned by a visual.
(Inherited from VisualContent.) | |
XAxis |
Get the X-axis.
| |
YAxis |
Gets the Y-axis.
|
Methods
Name | Description | |
---|---|---|
ApplyUserPreferences | Applies user preferences to a newly created visual.
(Inherited from VisualContent.) | |
AutoConfigure | Configures a newly created visual with reasonable default
values given the current data set.
(Inherited from VisualContent.) | |
GetRenderTrigger | Gets a trigger signaling
that the visualization has changed and needs to be re-rendered.
Note that it does not trigger when highlight changes.
(Inherited from VisualContent.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsConfigurationValid | Determines whether the current plot configuration is valid.
(Inherited from Visualization.) | |
RefreshOnDemandData |
Refreshes data in data tables that depends on other data and is not automatically updated.
This includes on-demand data with manual refresh, data functions with update behavior Manual
and calculations with update behavior Invalidate.
Only data tables used by this visualization will be included.
(Inherited from Visualization.) | |
Render | Obsolete. Renders the visual to the specified graphics context.
(Inherited from VisualContent.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetFilterRules |
Try to get the filter rules for the plot.
(Inherited from Visualization.) |
Explicit Interface Implementations
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also