Skip to end of metadata
Go to start of metadata

Remarks

UXChart is an advanced charting control with capability to visualize various type of data with over 20+ stunning chart types and rich user experiences to support business application development. Coupled with powerful MVVM data-binding capability,

UXChart  let you easily create interactive charts with smooth animation and best-in-class user expriences that meet the most demanding requirements of today's business applications, including zooming, panning, and box selection capability. To learn more about UXChart's user experiences, see Customizing UXChart User Experiences.

Example

XAML

Definition

public class UXChart : ISControl, ISeriesHost

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UXChart Constructor()Initializes a new instance of the Chart class.

Public Properties

ActualAxesGets the actual axes displayed in the chart.
AxesGets or sets a collection of Axes in the Chart.
CanUserSelectGets or sets a value indicating whether elements in the chart series can be selected.
ChartAreaStyleGets or sets the style to apply to Chart area
ChildGets or sets Child of this chart for drill down
CrossHairModeGets or sets CrossHairMode
CrossHairSnapGets or sets a value that determine CrossHair snap to data point or freely move
CurrentXAxisValueGet Current X-Axis Value
CurrentYAxisValueGet Current Y-Axis Value
CustomPaletteNameGets or sets name of custom pallete
CustomPalettesGets or sets collection of custom pallete
DataPointItemsGets or sets a value that indicates the DataPointItems
DependentDateAxisStyleGets or sets the style to apply to Dependent Date Axis
DependentLinearAxisStyleGets or sets the style to apply to Dependent Linear Axis
DrillDownCommandGets or sets command for Drill down function
DrillUpButtonStyleGets or sets the style to apply to Drill up button
DrillUpCommandGets or sets command for Drill up function
EnableCrossHairGets or sets a value indicating whether Cross hair enable or not.
EnableZoomGets or sets a value that determines chart zoom ability
EnableZoomAnimationGets or sets a value that determines whether zoom can be animated or not
EnableZoomBoxGets or sets a value that determines whether Box can be used for zoom
HorizontalZoomScrollBarVisibilityGets or sets visibility for Horizontal Zoom Scroll Bar
IndependentCategoryAxisStyleGets or sets the style to apply to Independent Category Axis
IndependentDateAxisStyleGets or sets the style to apply to Independent Date Axis
IndependentLinearAxisStyleGets or sets the style to apply to Independent Linear Axis
InitialZoomLevelGets or sets zoom level for initial load
InitialZoomPointGets or sets zoom point for initial load
LegendItemsGets the collection of legend items.
LegendPositionGets or sets position for legend
LegendStyleGets or sets the Style of the UXChart's Legend.
LegendTitleGets or sets the Title content of the Legend.
LegendTitleVisibilityIdentifies the LegendTitleVisibility dependency property.
LegendVisibilityGets or sets visibility of legend
LinkedChartGets or sets chart that can be linked for linked zoom
MaximumZoomLevelGets or sets Zoom level maximum
PaletteGets or sets a palette of ResourceDictionaries used by the children of the Chart.
PaletteOrderGets or sets order of pallete
PaletteOrderSequenceGets or sets sequence order of pallete
PaletteTypeGets or sets type of pallete
PlotAreaBorderStyleGets or sets the Style of the UXChart's Plot Area Border.
PlotAreaStyleGets or sets the Style of UXChart's PlotArea.
SelectedItemGets or sets the selected item.
SelectedItemsGets or sets a value that indicates the SelectedItems
SelectionModeGets or sets a value that indicates the SelectionMode
SeriesGets or sets the collection of Series displayed by the Chart.
SeriesDefinitionsBindingGets or sets a value that indicates the SeriesDefinitionsBinding
SeriesDependentValueBindingGets or sets a value that indicates the SeriesDependentValueBinding
SeriesIndependentValueBindingGets or sets a value that indicates the SeriesIndependentValueBinding
SeriesItemsSourceBindingGets or sets a value that indicates the SeriesItemsSourceBinding
SeriesSourceGets or sets a value that indicates the SeriesSource
SeriesTitleBindingGets or sets a value that indicates the SeriesTitleBinding
SeriesTypeGets or sets a value that indicates the SeriesType
TitleGets or sets the title displayed for the Chart.
TitlePositionGets or sets position of title.
TitleStyleGets or sets the Style of the ISeriesHost's Title.
TitleVisibilityGets or sets visibility of chart title
ToolTipAnimationDurationGets or sets value indicate duration for animation of tooltip
ToolTipAnimationEnabledGets or sets value indicate animation of tooltip
ToolTipAnimationEndSplineGets or sets a value that indicates the ToolTipAnimationEndSpline
ToolTipAnimationStartSplineGets or sets a value that indicates the ToolTipAnimationStartSpline
ToolTipHorizontalOffsetGets or sets a value that indicates the ToolTipHorizontalOffset
ToolTipPositionGets or sets the preferred tooltip position.
ToolTipProximityGets or sets a value that indicates the ToolTipProximity
ToolTipStaysOpenGets or sets a value that determines whether the tooltip stays open until the mouse leave the chart are.
ToolTipStyleGets or sets the style of the data point tooltip
ToolTipTemplateGets or sets the template of the data point tooltip
ToolTipVerticalOffsetGets or sets a value that indicates the ToolTipVerticalOffset
VerticalZoomScrollBarVisibilityGets or sets a value that indicates visibiliy of Vertical Zoom Scroll Bar
ZoomBoxStyleGets or sets the style to apply to Zoom Box
ZoomDurationGets or sets a value that indicates duration of zoom
ZoomEndSplineGets or sets a value that indicates the ZoomEndSpline
ZoomModeGets or sets a value that determines the mode of zoom
ZoomScrollBarStyleGets or sets the Style of the scrollbar.
ZoomStartSplineGets or sets a value that indicates the ZoomStartSpline

Protected Properties

BackgroundElementsGets the collection of background elements.
ProductProduct Info.
SeriesHostGets or sets the Series host of the chart.

Fields

CanUserSelectPropertyIdentifies the CanUserSelect dependency property.
ChartAreaStylePropertyIdentifies the ChartAreaStyle dependency property.
ChildPropertyIdentifies the Child dependency property.
CrossHairModePropertyIdentifies the CrossHairMode dependency property.
CrossHairSnapPropertyIdentifies the CrossHairSnap dependency property.
CustomPaletteNamePropertyIdentifies the CustomPaletteName dependency property.
CustomPalettesPropertyIdentifies the CustomPalettes dependency property.
DataPointItemsPropertyIdentifies the DataPointItems dependency property.
DependentDateAxisStylePropertyIdentifies the DependentDateAxisStyle dependency property.
DependentLinearAxisStylePropertyIdentifies the DependentLinearAxisStyle dependency property.
DrillDownCommandPropertyIdentifies the DrillDownCommand dependency property.
DrillUpButtonStylePropertyIdentifies the DrillUpButtonStyle dependency property.
DrillUpCommandPropertyIdentifies the DrillUpCommand dependency property.
EnableCrossHairPropertyIdentifies the EnableCrossHair dependency property.
EnableZoomAnimationPropertyIdentifies the EnableZoomAnimation dependency property.
EnableZoomBoxPropertyIdentifies the EnableZoomBox dependency property.
EnableZoomPropertyIdentifies the EnableZoom dependency property.
HorizontalZoomScrollBarVisibilityPropertyIdentifies the HorizontalZoomScrollBarVisibility dependency property.
IndependentCategoryAxisStylePropertyIdentifies the ZoomScrollBarStyle dependency property.
IndependentDateAxisStylePropertyIdentifies the IndependentDateAxisStyle dependency property.
IndependentLinearAxisStylePropertyIdentifies the IndependentLinearAxisStyle dependency property.
InitialZoomLevelPropertyIdentifies the InitialZoomLevel dependency property.
InitialZoomPointPropertyIdentifies the InitialZoomPoint dependency property.
LegendItemsPropertyIdentifies the LegendItems dependency property.
LegendPositionPropertyIdentifies the LegendPosition dependency property.
LegendStylePropertyIdentifies the LegendStyle dependency property.
LegendTitlePropertyIdentifies the LegendTitle dependency property.
LegendTitleVisibilityPropertyIdentifies the LegendTitleVisibility dependency property.
LegendVisibilityPropertyIdentifies the LegendVisibility dependency property.
LinkedChartPropertyIdentifies the LinkedChart dependency property.
MaximumZoomLevelPropertyIdentifies the MaximumZoomLevel dependency property.
PaletteOrderPropertyIdentifies the PaletteOrder dependency property.
PaletteOrderSequencePropertyIdentifies the PaletteOrderSequence dependency property.
PalettePropertyIdentifies the Palette dependency property.
PaletteTypePropertyIdentifies the PaletteType dependency property.
PlotAreaBorderStylePropertyIdentifies the PlotAreaBorderStyle dependency property.
PlotAreaStylePropertyIdentifies the PlotAreaStyle dependency property.
SelectedItemPropertyIdentifies the SelectedItem dependency property.
SelectedItemsPropertyIdentifies the SelectedItems dependency property.
SelectionModePropertyIdentifies the SelectionMode dependency property.
SeriesSourcePropertyIdentifies the SeriesSource dependency property.
SeriesTypePropertyIdentifies the SeriesSourceType dependency property.
TitlePositionPropertyIdentifies the TitlePosition dependency property.
TitlePropertyIdentifies the Title dependency property.
TitleStylePropertyIdentifies the TitleStyle dependency property.
TitleVisibilityPropertyIdentifies the TitleVisibility dependency property.
ToolTipAnimationDurationPropertyIdentifies the ToolTipAnimationDuration dependency property.
ToolTipAnimationEnabledPropertyIdentifies the ToolTipAnimationEnabled dependency property.
ToolTipAnimationEndSplinePropertyIdentifies the ToolTipAnimationEndSpline dependency property.
ToolTipAnimationStartSplinePropertyIdentifies the ToolTipAnimationStartSpline dependency property.
ToolTipHorizontalOffsetPropertyIdentifies the ToolTipHorizontalOffset dependency property.
ToolTipPositionPropertyIdentifies the ToolTipPosition dependency property.
ToolTipProximityPropertyIdentifies the ToolTipProximity dependency property.
ToolTipStaysOpenPropertyIdentifies the ToolTipStaysOpen dependency property.
ToolTipStylePropertyIdentifies the ToolTipStyle dependency property.
ToolTipTemplatePropertyIdentifies the ToolTipTemplate dependency property.
ToolTipVerticalOffsetPropertyIdentifies the ToolTipVerticalOffset dependency property.
VerticalZoomScrollBarVisibilityPropertyIdentifies the VerticalZoomScrollBarVisibility dependency property.
ZoomBoxStylePropertyIdentifies the ZoomBoxStyle dependency property.
ZoomDurationPropertyIdentifies the ZoomDuration dependency property.
ZoomEndSplinePropertyIdentifies the ZoomEndSpline dependency property.
ZoomModePropertyIdentifies the ZoomMode dependency property.
ZoomScrollBarStylePropertyIdentifies the ZoomScrollBarStyle dependency property.
ZoomStartSplinePropertyIdentifies the ZoomStartSpline dependency property.

Public Methods

AttachEventHandlers()Attach built-in event handlers to control templates. Call this method if necessary.
DetachedEventHandlers()Detach built-in event handlers from control templates. Call this method if necessary.
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetResourceDictionariesWhere(Func<ResourceDictionary, bool>)Returns a rotating enumerator of ResourceDictionary objects that coordinates with the dispenser object to ensure that no two enumerators are on the same item. If the dispenser is reset or its collection is changed then the enumerators are also reset.
InitializeTemplates()Initializes control templates.
OnApplyTemplate()Builds the visual tree for the ISItemsControl when a new template is applied.

Events

ResourceDictionariesChangedEvent that is invoked when the ResourceDictionaryDispenser's collection has changed.

Public Constructors

public UXChart()

Initializes a new instance of the Chart class.

Public Properties

public ReadOnlyCollection<IAxis> ActualAxes { get; }

Gets the actual axes displayed in the chart.

public ObservableCollection<IAxis> Axes { get; set; }

Gets or sets a collection of Axes in the Chart.

public bool CanUserSelect { get; set; }

Gets or sets a value indicating whether elements in the chart series can be selected.

Remarks

Selection in UXChart can be enabled by setting the CanUserSelect property to True. You can also control the selection individually in each series, by setting the same property that available in each series types.CanUserSelect property in each series has higher precedence than CanUserSelect property in UXChart. If you do not set the property in each series, it will use the one specified in UXChart , on contrary in you set the CanUserSelect property in the series it will override the one specified in UXChart .

 

public Style ChartAreaStyle { get; set; }

Gets or sets the style to apply to Chart area

public UXChart Child { get; set; }

Gets or sets Child of this chart for drill down

public CrossHairMode CrossHairMode { get; set; }

Gets or sets CrossHairMode

public bool CrossHairSnap { get; set; }

Gets or sets a value that determine CrossHair snap to data point or freely move

public object CurrentXAxisValue { get; }

Get Current X-Axis Value

public object CurrentYAxisValue { get; }

Get Current Y-Axis Value

public string CustomPaletteName { get; set; }

Gets or sets name of custom pallete

public Collection<Palette> CustomPalettes { get; set; }

Gets or sets collection of custom pallete

public IEnumerable DataPointItems { get; set; }

Gets or sets a value that indicates the DataPointItems

public Style DependentDateAxisStyle { get; set; }

Gets or sets the style to apply to Dependent Date Axis

public Style DependentLinearAxisStyle { get; set; }

Gets or sets the style to apply to Dependent Linear Axis

public ICommand DrillDownCommand { get; set; }

Gets or sets command for Drill down function

public Style DrillUpButtonStyle { get; set; }

Gets or sets the style to apply to Drill up button

public ICommand DrillUpCommand { get; set; }

Gets or sets command for Drill up function

public bool EnableCrossHair { get; set; }

Gets or sets a value indicating whether Cross hair enable or not.

public bool EnableZoom { get; set; }

Gets or sets a value that determines chart zoom ability

public bool EnableZoomAnimation { get; set; }

Gets or sets a value that determines whether zoom can be animated or not

Remarks

You can also determine whether you want to enable zoom animation when zooming by setting the EnableZoomAnimation property.

 

public bool EnableZoomBox { get; set; }

Gets or sets a value that determines whether Box can be used for zoom

Remarks

You can draw box in chart area to represent how much area percentage zoom you want to apply by simply click and hold the left button, and drag it until the box are drawn. You can activate it by holding the SHIFT key, or using property EnableZoomBox in UXChart. By default the zoom box is not enabled since its gesture is used for panning interaction. However, you can enable this feature by setting the EnableZoomBox property to true.

Otherwise, you can just hold the SHIFT key in your keyboard while click and hold your mouse and then drag your mouse until your mouse pointer create some transparent-like rectangular shape. The zoom box reflects how much zoom coverage to apply on the chart.

 

public ZoomScrollBarVisibility HorizontalZoomScrollBarVisibility { get; set; }

Gets or sets visibility for Horizontal Zoom Scroll Bar

Remarks

There are two zoom bars in UXChart, you can control their visibility through HorizontalZoomScrollBarVisibility and VerticalZoomScrollBarVisibility properties. The visibility of these property is preceded by ZoomMode, if the ZoomMode is set to X, the VerticalZoomScrollBar will be forced to be collapsed regardless the settings in VerticalZoomScrollBarVisibility.

 

public Style IndependentCategoryAxisStyle { get; set; }

Gets or sets the style to apply to Independent Category Axis

public Style IndependentDateAxisStyle { get; set; }

Gets or sets the style to apply to Independent Date Axis

public Style IndependentLinearAxisStyle { get; set; }

Gets or sets the style to apply to Independent Linear Axis

public Point InitialZoomLevel { get; set; }

Gets or sets zoom level for initial load

Remarks

There are times when you want to display a chart that already initially zoomed in to certain position without gesture input from users.

To achieve this configuration, simply set the initial zoom by setting the InitialZoomLevel property, and set the InitialZoomPoint property to determine where the zoom will be centered. Note that the value of initial point should be percentage of the screen real estate where 0,0 is the top left most and 1,1 is the bottom right most.

 

public Point InitialZoomPoint { get; set; }

Gets or sets zoom point for initial load

Remarks

There are times when you want to display a chart that already initially zoomed in to certain position without gesture input from users.

To achieve this configuration, simply set the initial zoom by setting the InitialZoomLevel property, and set the InitialZoomPoint property to determine where the zoom will be centered. Note that the value of initial point should be percentage of the screen real estate where 0,0 is the top left most and 1,1 is the bottom right most.

 

public IEnumerable LegendItems { get; }

Gets the collection of legend items.

public ChartPosition LegendPosition { get; set; }

Gets or sets position for legend

Remarks

In a normal chart, the legend is most often located on the right hand side of the chart and can sometimes be surrounded by a border. However, you can set the position of legend to your liking by using LegendPosition property of UXChart. There are eight position that you can choose from:

  • Bottom
    • Legend position on bottom of the chart, and orientation is horizontal
  • BottomLeft
    • Title position on left side of bottom chart,and orientation is horizontal
  • BottomRight
    • Title position on right side of bottom chart, and orientation is horizontal
  • Left
    • Title position on left side of chart, and orientation is vertical
  • Right
    • Title position on right side of chart, and orientation is vertical
  • Top
    • Title position on Top of the chart, and orientation is horizontal
  • TopLeft
    • Title position on left side of chart, and orientation is horizontal
  • TopRight
    • Title position on right side of chart, and orientation is horizontal

 

public Style LegendStyle { get; set; }

Gets or sets the Style of the UXChart's Legend.

Remarks

UXChart provides full control over legend appearance. You are able to specify the shape of the Legend Item Markers just by setting the style. It can be different shapes, such as rectangle, ellipse, or even an image. you can also set its style using LegendStyle

 

public object LegendTitle { get; set; }

Gets or sets the Title content of the Legend.

Remarks

LegendTitle is a textual element at the top of legend list element. You can set this textual element using LegendTitle property of UXChart

 

public Visibility LegendTitleVisibility { get; set; }

Identifies the LegendTitleVisibility dependency property.

Remarks

if needed you can also collapse the legend title element through the LegendTitleVisibility property.

 

public Visibility LegendVisibility { get; set; }

Gets or sets visibility of legend

public UXChart LinkedChart { get; set; }

Gets or sets chart that can be linked for linked zoom

Remarks

UXChart supports linked zoom feature in which the zoom properties of a chart, i.e, the zoom level and the zoom position, will be synchronized automatically to the other charts that were configured to link to the main chart. In this case, when users zoom in or zoom out on a chart, all of the linked charts will follow. To enable this feature, simply specify the chart instance's name that you would like to link through the LinkedChart property.

 

public double MaximumZoomLevel { get; set; }

Gets or sets Zoom level maximum

Remarks

In certain cases, you may want to set a limit for the depth of the zooming function by setting the MaximumZoomLevel property.

 

public Collection<ResourceDictionary> Palette { get; set; }

Gets or sets a palette of ResourceDictionaries used by the children of the Chart.

public PaletteOrder PaletteOrder { get; set; }

Gets or sets order of pallete

public Int32[] PaletteOrderSequence { get; set; }

Gets or sets sequence order of pallete

public PaletteType PaletteType { get; set; }

Gets or sets type of pallete

public Style PlotAreaBorderStyle { get; set; }

Gets or sets the Style of the UXChart's Plot Area Border.

public Style PlotAreaStyle { get; set; }

Gets or sets the Style of UXChart's PlotArea.

public object SelectedItem { get; set; }

Gets or sets the selected item.

public INotifyCollectionChanged SelectedItems { get; set; }

Gets or sets a value that indicates the SelectedItems

public SeriesSelectionMode SelectionMode { get; set; }

Gets or sets a value that indicates the SelectionMode

Remarks

Selection in UXChart can be enabled by setting the CanUserSelect property to True. You can also control the selection individually in each series, by setting the same property that available in each series types.CanUserSelect property in each series has higher precedence than CanUserSelect property in UXChart. If you do not set the property in each series, it will use the one specified in UXChart , on contrary in you set the CanUserSelect property in the series it will override the one specified in UXChart .

There are six selection modes that you can choose from.

  • Single

    User can select only one data point at a time across all series

  • Extended

    User can select multiple data point across all series using Ctrl Modifier.

  • Multiple

    User can select multiple data point across all series.

  • Single Per Series

    User can select one data point at a time per each series. In other words you might see multiple items selected across all series, but each series will have only one item selected at a time.

  • Extended Per Same Series

    User can select multiple data point per same series by using Ctrl Modifier. Whenever user select a data point from other series, the selection on the previous series will be cleared.

  • Multiple Per Same Series

    User can select multiple data point per same series by using Ctrl Modifier. Whenever user select a data point from other series, the selection on the previous series will be cleared.

 

public ObservableCollection<ISeries> Series { get; set; }

Gets or sets the collection of Series displayed by the Chart.

public Binding SeriesDefinitionsBinding { get; set; }

Gets or sets a value that indicates the SeriesDefinitionsBinding

public Binding SeriesDependentValueBinding { get; set; }

Gets or sets a value that indicates the SeriesDependentValueBinding

public Binding SeriesIndependentValueBinding { get; set; }

Gets or sets a value that indicates the SeriesIndependentValueBinding

public Binding SeriesItemsSourceBinding { get; set; }

Gets or sets a value that indicates the SeriesItemsSourceBinding

public IEnumerable SeriesSource { get; set; }

Gets or sets a value that indicates the SeriesSource

public Binding SeriesTitleBinding { get; set; }

Gets or sets a value that indicates the SeriesTitleBinding

public SeriesType SeriesType { get; set; }

Gets or sets a value that indicates the SeriesType

public object Title { get; set; }

Gets or sets the title displayed for the Chart.

public ChartPosition TitlePosition { get; set; }

Gets or sets position of title.

Remarks

Title Element is not always put on the top of control, there are several mode that you can use. you can choose from TitlePosition property. There are eight position that you can choose from:

  • Bottom
    • Title position on bottom of the chart
  • BottomLeft
    • Title position on left side of bottom chart
  • BottomRight
    • Title position on right side of bottom chart
  • Left
    • Title position on left side of chart
  • Right
    • Title position on right side of chart
  • Top
    • Title position on top of the chart
  • TopLeft
    • Title position on left side of chart
  • TopRight
    • Title position on right side of chart

 

public Style TitleStyle { get; set; }

Gets or sets the Style of the ISeriesHost's Title.

public Visibility TitleVisibility { get; set; }

Gets or sets visibility of chart title

Remarks

you can also set the title visibility to visible or collapsed using TitleVisibility property

 

public double ToolTipAnimationDuration { get; set; }

Gets or sets value indicate duration for animation of tooltip

public bool ToolTipAnimationEnabled { get; set; }

Gets or sets value indicate animation of tooltip

public Point ToolTipAnimationEndSpline { get; set; }

Gets or sets a value that indicates the ToolTipAnimationEndSpline

public Point ToolTipAnimationStartSpline { get; set; }

Gets or sets a value that indicates the ToolTipAnimationStartSpline

public double ToolTipHorizontalOffset { get; set; }

Gets or sets a value that indicates the ToolTipHorizontalOffset

Remarks

If needed you can also set a value that place the popup based on specific offset (the offset can be both positive and negative value).

 

public PopupPosition ToolTipPosition { get; set; }

Gets or sets the preferred tooltip position.

Remarks

You can set the tooltip position to Bottom, BottomLeft, BottomRight, Left, Right, Top, TopLeft, TopRight, CenterParent, Relative and Absolute.

 

public double ToolTipProximity { get; set; }

Gets or sets a value that indicates the ToolTipProximity

public bool ToolTipStaysOpen { get; set; }

Gets or sets a value that determines whether the tooltip stays open until the mouse leave the chart are.

public Style ToolTipStyle { get; set; }

Gets or sets the style of the data point tooltip

public DataTemplate ToolTipTemplate { get; set; }

Gets or sets the template of the data point tooltip

public double ToolTipVerticalOffset { get; set; }

Gets or sets a value that indicates the ToolTipVerticalOffset

Remarks

If needed you can also set a value that place the popup based on specific offset (the offset can be both positive and negative value).

 

public ZoomScrollBarVisibility VerticalZoomScrollBarVisibility { get; set; }

Gets or sets a value that indicates visibiliy of Vertical Zoom Scroll Bar

Remarks

There are two zoom bars in UXChart, you can control their visibility through HorizontalZoomScrollBarVisibility and VerticalZoomScrollBarVisibility properties. The visibility of these property is preceded by ZoomMode, if the ZoomMode is set to X, the VerticalZoomScrollBar will be forced to be collapsed regardless the settings in VerticalZoomScrollBarVisibility.

 

public Style ZoomBoxStyle { get; set; }

Gets or sets the style to apply to Zoom Box

public double ZoomDuration { get; set; }

Gets or sets a value that indicates duration of zoom

public Point ZoomEndSpline { get; set; }

Gets or sets a value that indicates the ZoomEndSpline

public ZoomMode ZoomMode { get; set; }

Gets or sets a value that determines the mode of zoom

Remarks

One of key user experiences in UXChart is the dual-mode zooming feature. This feature allows users to intuitively zoom in to focus on certain parts of interesting data, or zoom out to see the overall data of the chart. This feature is particularly useful when you have a lot of data to visualized which are clutterred in the chart.

The zooming capability in UXChart applies to data point, gridline, and axis. There are several zoom mode that can be customized through the ZoomMode property as follows.

  • X - Only zoom horizontally
  • Y - Only zoom vertically
  • Both - Zoom both horizontally and vertically
  • None - Cannot do zoom

 

public Style ZoomScrollBarStyle { get; set; }

Gets or sets the Style of the scrollbar.

public Point ZoomStartSpline { get; set; }

Gets or sets a value that indicates the ZoomStartSpline

Protected Properties

protected ObservableCollection<UIElement> BackgroundElements { get; }

Gets the collection of background elements.

protected ProductInfo Product { get; }

Product Info.

protected ISeriesHost SeriesHost { get; set; }

Gets or sets the Series host of the chart.

Remarks

This will always return null.

 

Fields

public static readonly DependencyProperty CanUserSelectProperty

Identifies the CanUserSelect dependency property.

public static readonly DependencyProperty ChartAreaStyleProperty

Identifies the ChartAreaStyle dependency property.

public static readonly DependencyProperty ChildProperty

Identifies the Child dependency property.

public static readonly DependencyProperty CrossHairModeProperty

Identifies the CrossHairMode dependency property.

public static readonly DependencyProperty CrossHairSnapProperty

Identifies the CrossHairSnap dependency property.

public static readonly DependencyProperty CustomPaletteNameProperty

Identifies the CustomPaletteName dependency property.

public static readonly DependencyProperty CustomPalettesProperty

Identifies the CustomPalettes dependency property.

public static readonly DependencyProperty DataPointItemsProperty

Identifies the DataPointItems dependency property.

public static readonly DependencyProperty DependentDateAxisStyleProperty

Identifies the DependentDateAxisStyle dependency property.

public static readonly DependencyProperty DependentLinearAxisStyleProperty

Identifies the DependentLinearAxisStyle dependency property.

public static readonly DependencyProperty DrillDownCommandProperty

Identifies the DrillDownCommand dependency property.

public static readonly DependencyProperty DrillUpButtonStyleProperty

Identifies the DrillUpButtonStyle dependency property.

public static readonly DependencyProperty DrillUpCommandProperty

Identifies the DrillUpCommand dependency property.

public static readonly DependencyProperty EnableCrossHairProperty

Identifies the EnableCrossHair dependency property.

public static readonly DependencyProperty EnableZoomAnimationProperty

Identifies the EnableZoomAnimation dependency property.

public static readonly DependencyProperty EnableZoomBoxProperty

Identifies the EnableZoomBox dependency property.

public static readonly DependencyProperty EnableZoomProperty

Identifies the EnableZoom dependency property.

public static readonly DependencyProperty HorizontalZoomScrollBarVisibilityProperty

Identifies the HorizontalZoomScrollBarVisibility dependency property.

public static readonly DependencyProperty IndependentCategoryAxisStyleProperty

Identifies the ZoomScrollBarStyle dependency property.

public static readonly DependencyProperty IndependentDateAxisStyleProperty

Identifies the IndependentDateAxisStyle dependency property.

public static readonly DependencyProperty IndependentLinearAxisStyleProperty

Identifies the IndependentLinearAxisStyle dependency property.

public static readonly DependencyProperty InitialZoomLevelProperty

Identifies the InitialZoomLevel dependency property.

public static readonly DependencyProperty InitialZoomPointProperty

Identifies the InitialZoomPoint dependency property.

public static readonly DependencyProperty LegendItemsProperty

Identifies the LegendItems dependency property.

public static readonly DependencyProperty LegendPositionProperty

Identifies the LegendPosition dependency property.

public static readonly DependencyProperty LegendStyleProperty

Identifies the LegendStyle dependency property.

public static readonly DependencyProperty LegendTitleProperty

Identifies the LegendTitle dependency property.

public static readonly DependencyProperty LegendTitleVisibilityProperty

Identifies the LegendTitleVisibility dependency property.

public static readonly DependencyProperty LegendVisibilityProperty

Identifies the LegendVisibility dependency property.

public static readonly DependencyProperty LinkedChartProperty

Identifies the LinkedChart dependency property.

public static readonly DependencyProperty MaximumZoomLevelProperty

Identifies the MaximumZoomLevel dependency property.

public static readonly DependencyProperty PaletteOrderProperty

Identifies the PaletteOrder dependency property.

public static readonly DependencyProperty PaletteOrderSequenceProperty

Identifies the PaletteOrderSequence dependency property.

public static readonly DependencyProperty PaletteProperty

Identifies the Palette dependency property.

public static readonly DependencyProperty PaletteTypeProperty

Identifies the PaletteType dependency property.

public static readonly DependencyProperty PlotAreaBorderStyleProperty

Identifies the PlotAreaBorderStyle dependency property.

public static readonly DependencyProperty PlotAreaStyleProperty

Identifies the PlotAreaStyle dependency property.

public static readonly DependencyProperty SelectedItemProperty

Identifies the SelectedItem dependency property.

public static readonly DependencyProperty SelectedItemsProperty

Identifies the SelectedItems dependency property.

public static readonly DependencyProperty SelectionModeProperty

Identifies the SelectionMode dependency property.

public static readonly DependencyProperty SeriesSourceProperty

Identifies the SeriesSource dependency property.

public static readonly DependencyProperty SeriesTypeProperty

Identifies the SeriesSourceType dependency property.

public static readonly DependencyProperty TitlePositionProperty

Identifies the TitlePosition dependency property.

public static readonly DependencyProperty TitleProperty

Identifies the Title dependency property.

public static readonly DependencyProperty TitleStyleProperty

Identifies the TitleStyle dependency property.

public static readonly DependencyProperty TitleVisibilityProperty

Identifies the TitleVisibility dependency property.

public static readonly DependencyProperty ToolTipAnimationDurationProperty

Identifies the ToolTipAnimationDuration dependency property.

public static readonly DependencyProperty ToolTipAnimationEnabledProperty

Identifies the ToolTipAnimationEnabled dependency property.

public static readonly DependencyProperty ToolTipAnimationEndSplineProperty

Identifies the ToolTipAnimationEndSpline dependency property.

public static readonly DependencyProperty ToolTipAnimationStartSplineProperty

Identifies the ToolTipAnimationStartSpline dependency property.

public static readonly DependencyProperty ToolTipHorizontalOffsetProperty

Identifies the ToolTipHorizontalOffset dependency property.

public static readonly DependencyProperty ToolTipPositionProperty

Identifies the ToolTipPosition dependency property.

public static readonly DependencyProperty ToolTipProximityProperty

Identifies the ToolTipProximity dependency property.

public static readonly DependencyProperty ToolTipStaysOpenProperty

Identifies the ToolTipStaysOpen dependency property.

public static readonly DependencyProperty ToolTipStyleProperty

Identifies the ToolTipStyle dependency property.

public static readonly DependencyProperty ToolTipTemplateProperty

Identifies the ToolTipTemplate dependency property.

public static readonly DependencyProperty ToolTipVerticalOffsetProperty

Identifies the ToolTipVerticalOffset dependency property.

public static readonly DependencyProperty VerticalZoomScrollBarVisibilityProperty

Identifies the VerticalZoomScrollBarVisibility dependency property.

public static readonly DependencyProperty ZoomBoxStyleProperty

Identifies the ZoomBoxStyle dependency property.

public static readonly DependencyProperty ZoomDurationProperty

Identifies the ZoomDuration dependency property.

public static readonly DependencyProperty ZoomEndSplineProperty

Identifies the ZoomEndSpline dependency property.

public static readonly DependencyProperty ZoomModeProperty

Identifies the ZoomMode dependency property.

public static readonly DependencyProperty ZoomScrollBarStyleProperty

Identifies the ZoomScrollBarStyle dependency property.

public static readonly DependencyProperty ZoomStartSplineProperty

Identifies the ZoomStartSpline dependency property.

Public Methods

public void AttachEventHandlers()

Attach built-in event handlers to control templates. Call this method if necessary.

public void DetachedEventHandlers()

Detach built-in event handlers from control templates. Call this method if necessary.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public IEnumerator<ResourceDictionary> GetResourceDictionariesWhere(Func<ResourceDictionary, bool> predicate)

Returns a rotating enumerator of ResourceDictionary objects that coordinates with the dispenser object to ensure that no two enumerators are on the same item. If the dispenser is reset or its collection is changed then the enumerators are also reset.

Parameters

predicateA predicate that returns a value indicating whether to return an item.

Return Types

An enumerator of ResourceDictionaries.

 

public void InitializeTemplates()

Initializes control templates.

public void OnApplyTemplate()

Builds the visual tree for the ISItemsControl when a new template is applied.

Events

public event EventHandler ResourceDictionariesChanged

Event that is invoked when the ResourceDictionaryDispenser's collection has changed.

  • No labels