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
Spotfire.Dxp.Framework.DocumentModelNode
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: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(21, 0)] [ToolContextAttribute] public sealed class BarChart : TrellisVisualization, IFittingModelHost, IColorRuleVisualization, IScaleAxisHost, IBarChart, IColorAxis
The BarChart type exposes the following members.
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.) | |
Render | Renders the visual to the specified graphics context.
(Inherited from VisualContent.) | |
TryGetFilterRules |
Try to get the filter rules for the plot.
(Inherited from Visualization.) |
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 | 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.
| |
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 | 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.
| |
ReferenceLines | Obsolete.
Gets an object that controls the display of reference lines.
| |
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.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServiceProviderGetService |
Implements IServiceProvider.
(Inherited from Node.) | |
INodeContextGetAncestorT |
Implements GetAncestorT.
(Inherited from DocumentNode.) | |
INodeContextGetServiceT |
Implements GetServiceT.
(Inherited from DocumentNode.) | |
INodeContextIsDescendantOf |
Implements IsDescendantOf(DocumentNode).
(Inherited from DocumentNode.) | |
ITransactionsBeginAggregatedTransaction |
Implements BeginAggregatedTransaction.
(Inherited from DocumentNode.) | |
ITransactionsExecuteInvisibleTransaction |
Implements ExecuteInvisibleTransaction(Executor).
(Inherited from DocumentNode.) | |
ITransactionsExecuteStickyTransaction |
Implements ExecuteStickyTransaction(Guid, Executor).
(Inherited from DocumentNode.) | |
ITransactionsExecuteTransaction |
Implements ExecuteTransaction(Executor).
(Inherited from DocumentNode.) |
Version Information
See Also