ErrorBars Class TIBCO Spotfire 7.9 API Reference
Represents Error Bars on a ScaleAxis.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.DocumentModelNode
    Spotfire.Dxp.Framework.DocumentModelDocumentNode
      Spotfire.Dxp.Application.VisualsErrorBars

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.10915.3380 (30.0.10915.3380)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(12, 0)]
public sealed class ErrorBars : DocumentNode

The ErrorBars type exposes the following members.

Methods

  NameDescription
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyEnabled
Gets or sets whether or not the error bars are enabled.
Public propertyFixedColor
Gets or sets the fixed color used for drawing error bars when UseMarkerColor is false.
Public propertyIncludeInAxisRange
Gets or sets whether or not the error bars should be included in the axis range of the visualization.
Public propertyCode exampleIndexedEnabled
Gets the indexed enabled property.
Public propertyCode exampleIndexedLowerExpression
Gets the indexed Lower Expression property.
Public propertyCode exampleIndexedUpperExpression
Gets the indexed Upper Expression property.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyLegendItemReference
Gets a reference to the corresponding legend item.
Public propertyLowerExpression
Gets or sets the expression used to define the lower error of the error bar.
Public propertyShowEndCaps
Gets or sets whether or not the error bars should be drawn using end caps.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Public propertyUpperExpression
Gets or sets the expression used to define the upper error of the error bar.
Public propertyUseMarkerColor
Gets or sets whether to use marker colors when drawing error bars.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIServiceProviderGetService
Implements IServiceProvider.
(Inherited from Node.)
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Top
Remarks

Error bars are lines drawn from the center of a marker (or from the end of a bar in a bar chart) to indicate the error (uncertainty) of a measurement or aggregation.
Examples

The following example sets the Y axis expression in a line chart, and a corresponding error bar expression.
lineChart.YAxis.Expression = "Avg([Sales]) as MySales, Avg([Profit]) as MyProfit";

CategoryKey salesKey = new CategoryKey("MySales");
lineChart.YAxis.ErrorBars.IndexedEnabled[salesKey] = true;
lineChart.YAxis.ErrorBars.IndexedUpperExpression[salesKey] = "StdErr(Sales)";
lineChart.YAxis.ErrorBars.IndexedLowerExpression[salesKey] = "StdErr(Sales)";

CategoryKey profitKey = new CategoryKey("MyProfit");
lineChart.YAxis.ErrorBars.IndexedEnabled[profitKey] = true;
lineChart.YAxis.ErrorBars.IndexedUpperExpression[profitKey] = "StdErr(Profit)";
lineChart.YAxis.ErrorBars.IndexedLowerExpression[profitKey] = "StdErr(Profit)";
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference