/*! * * Wijmo Library 5.20252.44 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.angular.chart} * AngularJS directives for wijmo.chart module */ /** * */ export declare var ___keepComment: any; import { WjDirective } from 'wijmo/wijmo.angular.base'; import * as wjcChart from 'wijmo/wijmo.chart'; /** * Angular module name, which can be used in the angular.module(moduleName) * function to obtain a reference to the module . */ export declare const ngModuleName = "wj.chart"; export declare class WjFlexChartBase extends WjDirective { constructor(); readonly _controlConstructor: typeof wjcChart.FlexChartBase; _initProps(): void; } export declare class WjFlexChartCore extends WjFlexChartBase { readonly _controlConstructor: typeof wjcChart.FlexChartCore; _initProps(): void; } /** * AngularJS directive for the {@link FlexChart} control. * * Use the wj-flex-chart directive to add charts to your AngularJS applications. * Note that directive and parameter names must be formatted using lower-case letters * with dashes instead of camel case. For example: * *
<p>Here is a FlexChart control:</p> * <wj-flex-chart * style="height:300px" * items-source="data" * binding-x="country"> * <wj-flex-chart-axis * wj-property="axisY" * major-unit="5000"> * </wj-flex-chart-axis> * <wj-flex-chart-series * binding="sales" * name="Sales"> * </wj-flex-chart-series> * <wj-flex-chart-series * binding="expenses" * name="Expenses"> * </wj-flex-chart-series> * <wj-flex-chart-series * binding="downloads" * name="Downloads" * chart-type="LineSymbols"> * </wj-flex-chart-series> * </wj-flex-chart>* * The example below creates a {@link FlexChart} control and binds it to a 'data' array * exposed by the controller. The chart has three series objects, each corresponding to * a property in the objects contained in the source array. The last series in the * example uses the 'chart-type' attribute to override the default chart type used * for the other series objects. * * Example * * The wj-flex-chart directive supports the following attributes: * *
@ The name of the property that contains Y
* values for the chart. You can override this at the series level.@ The name of the property that contains X
* values for the chart. You can override this at the series level.@ The default chart type to use in rendering series
* objects. You can override this at the series level. See {@link ChartType}.= A reference to the {@link FlexChart} control
* that this directive creates.@ The text to display in the chart footer (plain
* text).= The style to apply to the chart footer.@ The text to display in the chart header (plain
* text).= The style to apply to the chart header.& This event occurs after the binding has finished
* initializing the control with attribute values.= A value indicating whether the binding has finished
* initializing the control with attribute values. @ The value indicating whether to interpolate or
* leave gaps when there are null values in the data.= The formatter function that customizes the
* appearance of data points.= An array or {@link ICollectionView} object that contains
* the data used to create the chart.@ The value indicating whether clicking legend items
* toggles series visibility.= Chart options that only apply to certain chart types.
* See options under {@link FlexChart} for details.= An array that contains the default colors used for
* displaying each series.= The number of pixels of space to leave between the
* edges of the control and the plot area, or CSS-style margins.@ The value indicating whether to flip the axes so that
* X is vertical and Y is horizontal.= The series object that is selected.@ The {@link SelectionMode} value indicating whether or what is
* selected when the user clicks a series.@ The {@link Stacking} value indicating whether or how series
* objects are stacked or plotted independently.@ The size of the symbols used to render data points in Scatter,
* LineSymbols, and SplineSymbols charts, in pixels. You can override
* this at the series level.@ The value to display in the
* {@link ChartTooltip} content property.& The {@link FlexChart.gotFocus} event handler.& The {@link FlexChart.lostFocus} event handler.& The {@link FlexChart.rendering} event handler.& The {@link FlexChart.rendered} event handler.& The {@link FlexChart.seriesVisibilityChanged} event handler.& The {@link FlexChart.selectionChanged} event handler.@ Defines the {@link FlexChart} property name,
* axis-x or axis-y, to initialize with the directive.@ The value indicating whether the axis line is visible.@ Gets or sets the comma-separated property names for
* the {@link wijmo.chart.Axis.itemsSource} property to use in axis labels.
* The first name specifies the value on the axis, the second represents
* the corresponding axis label. The default value is 'value,text'.@ The format string used for the axis labels
* (see {@link Globalize}).= The formatter function that customizes the
* appearance of axis labels.= The items source for the axis labels.@ The value indicating whether the axis labels are visible.@ The rotation angle of axis labels in degrees.@ The alignment of axis labels.@ The padding of axis labels.@ The value indicating whether the axis includes grid lines.@ Defines the appearance of tick marks on the axis
* (see {@link TickMark}).@ The number of units between axis labels.@ The minimum value shown on the axis.@ The maximum value shown on the axis.@ The value indicating whether the axis includes minor grid lines.@ Defines the appearance of minor tick marks on the axis
* (see {@link TickMark}).@ The number of units between minor axis ticks.@ The axis origin.@ The {@link OverlappingLabels} value indicating how to handle the overlapping axis labels.@ The {@link Position} value indicating the position of the axis.@ The value indicating whether the axis is reversed (top to
* bottom or right to left).@ The title text shown next to the axis.@ The {@link Position} value indicating the position of the
* legend.@ The {@link Reverse} value indicating whether to reverse the order of the
* legends. leave it undefined if to let chart decide automatically<wj-flex-chart * items-source="data" * binding-x="country"> * <wj-flex-chart-axis * wj-property="axisY" * major-unit="5000"> * </wj-flex-chart-axis> * <wj-flex-chart-series * binding="sales" * name="Sales"> * </wj-flex-chart-series> * <wj-flex-chart-legend * position="Bottom"> * </wj-flex-chart-legend> * </wj-flex-chart>*/ export declare class WjFlexChartLegend extends WjDirective { constructor(); readonly _controlConstructor: typeof wjcChart.Legend; } export declare class WjFlexChartDataLabelBase extends WjDirective { constructor(); readonly _controlConstructor: typeof wjcChart.DataLabelBase; } /** * AngularJS directive for the {@link FlexChart} {@link DataLabel} object. * * The wj-flex-chart-data-label directive must be contained in a {@link wijmo.angular.chart.WjFlexChart} directive. * It supports the following attributes: * *
= A string or function that gets or sets the content of the data labels.@ Gets or sets a value indicating whether the data labels have borders.@ The {@link LabelPosition} value indicating the position of the data labels.= A string or function that gets or sets the content of the data labels.@ Gets or sets a value indicating whether the data labels have borders.@ The {@link PieLabelPosition} value indicating the position of the data labels.@ X-axis for the series.@ Y-axis for the series.@ The name of the property that contains Y values for the
* series. This value overrides any binding set for the chart.@ The name of the property that contains X values for the
* series. This value overrides any binding set for the chart.@ The chart type to use in rendering objects for this series
* objects. This value overrides the default chart type set on the chart. See
* {@link ChartType}.@ The CSS class to use for the series.= An array or {@link ICollectionView} object that contains
* data for this series.@ The name of the series to show in the legend.= The series style. Use ng-attr-style to specify the series
* style object as an object. See the section on ngAttr attribute bindings in
*
* AngularJS Creating Custom Directives and the
* FlexChart 101 Styling Series sample for more information.= The series alternative style.@ The shape of marker to use for the series. This value
* overrides the default marker set on the chart. See {@link Marker}.@ The size of the symbols used to render data points in this series
* for Scatter, LineSymbols, and SplineSymbols charts, in pixels.
* This value overrides any settings at the chart level.= The style of the symbols used to render data
* points in this series for Scatter, LineSymbols, and SplineSymbols charts.
* This value overrides any settings at the chart level.= The {@link SeriesVisibility} value indicating whether and where to
* display the series.@ The value indicating whether the LineMarker is visible.@ The index of the series in the chart in which the LineMarker appears.@ The horizontal position of the LineMarker relative to the plot area.@ The function that allows you to customize the text content of the LineMarker.@ The vertical position of the LineMarker relative to the plot area.@ The {@link LineMarkerAlignment} value indicating the alignment of the LineMarker content.@ The {@link LineMarkerLines} value indicating the appearance of the LineMarker's lines.@ The {@link LineMarkerInteraction} value indicating the interaction mode of the LineMarker.@ The maximum distance from the horizontal or vertical line that you can drag the marker.@ The value indicating whether you can drag the content of the marker when the interaction mode is "Drag".@ The value indicating whether the lines are linked when you drag the horizontal or vertical line when the interaction mode is "Drag".@ The name of the parent directive object's property where the
* DataPoint will be assigned.@ x coordinate, can be a numeric or date value.@ y coordinate, can be a numeric or date value.= An array or {@link ICollectionView}
* object that contains data for the chart.@ The name of the property that
* contains item values.@ The name of the property that
* contains item names.@ The text to display in the chart footer (plain
* text).= The style to apply to the chart footer.@ The text to display in the chart header (plain
* text).= The style to apply to the chart header.& This event occurs after the binding has finished
* initializing the control with attribute values.= A value indicating whether the binding has finished
* initializing the control with attribute values. @ The size of the hole inside the
* pie, measured as a fraction of the pie radius.@ A value indicating whether to use animation
* to move selected items to the selectedItemPosition.= The formatter function that customizes the
* appearance of data points.@ The extent to which pie slices are pulled
* out from the center, as a fraction of the pie radius.= An array that contains the default colors used for
* displaying pie slices.= The number of pixels of space to leave between the
* edges of the control and the plot area, or CSS-style margins.@ A value indicating whether to draw pie
* slices in a counter-clockwise direction.@ The starting angle for pie slices,
* measured clockwise from the 9 o'clock position.@ The extent to which the selected pie slice is
* pulled out from the center, as a fraction of the pie radius.@ The {@link Position} value indicating where to display
* the selected slice.@ The {@link SelectionMode} value indicating whether or what is
* selected when the user clicks a series.@ The value to display in the
* {@link ChartTooltip} content property.& The {@link FlexPie.gotFocus} event handler.& The {@link FlexPie.lostFocus} event handler.& The {@link FlexPie.rendering} event handler.& The {@link FlexPie.rendered} event handler.