Class RangeNavigatorBuilder
Inheritance
System.Object
RangeNavigatorBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RangeNavigatorBuilder : ControlBuilder
Constructors
RangeNavigatorBuilder()
Declaration
public RangeNavigatorBuilder()
RangeNavigatorBuilder(RangeNavigator)
Declaration
public RangeNavigatorBuilder(RangeNavigator model)
Parameters
Fields
model
Declaration
public RangeNavigator model
Field Value
Properties
HtmlAttr
Declaration
public IDictionary<string, object> HtmlAttr { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
ID
Declaration
public string ID { get; set; }
Property Value
Type |
Description |
System.String |
|
Output
Declaration
public override TextWriter Output { get; set; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
Overrides
Methods
AllowIntervalData(Boolean)
Allow the data to be selected for that particular interval while clicking the particular label.
Declaration
public RangeNavigatorBuilder AllowIntervalData(bool allowIntervalData = true)
Parameters
Type |
Name |
Description |
System.Boolean |
allowIntervalData |
|
Returns
AllowSnapping(Boolean)
Enable snapping for range navigator sliders.
Declaration
public RangeNavigatorBuilder AllowSnapping(bool allowSnapping = true)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSnapping |
|
Returns
AnimationDuration(Double)
Duration of the animation.
Declaration
public RangeNavigatorBuilder AnimationDuration(double animationDuration)
Parameters
Type |
Name |
Description |
System.Double |
animationDuration |
|
Returns
Background(String)
The background color of the chart that accepts value in hex and rgba as a valid CSS color string.
Declaration
public RangeNavigatorBuilder Background(string background)
Parameters
Type |
Name |
Description |
System.String |
background |
|
Returns
BeforePrint(String)
Triggers before the prints gets started.
Declaration
public RangeNavigatorBuilder BeforePrint(string beforePrint)
Parameters
Type |
Name |
Description |
System.String |
beforePrint |
|
Returns
BeforeResize(String)
Triggers before window resize.
Declaration
public RangeNavigatorBuilder BeforeResize(string beforeResize)
Parameters
Type |
Name |
Description |
System.String |
beforeResize |
|
Returns
Changed(String)
Triggers after change the slider.
Declaration
public RangeNavigatorBuilder Changed(string changed)
Parameters
Type |
Name |
Description |
System.String |
changed |
|
Returns
DataSource(Action<DataManagerBuilder>)
Declaration
public RangeNavigatorBuilder DataSource(Action<DataManagerBuilder> dataSource)
Parameters
Returns
DataSource(Object)
It defines the data source for a range navigator.
Declaration
public RangeNavigatorBuilder DataSource(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
Returns
DisableRangeSelector(Boolean)
To render the period selector with out range navigator.
Declaration
public RangeNavigatorBuilder DisableRangeSelector(bool disableRangeSelector = true)
Parameters
Type |
Name |
Description |
System.Boolean |
disableRangeSelector |
|
Returns
EnableDeferredUpdate(Boolean)
Enable deferred update for the range navigator.
Declaration
public RangeNavigatorBuilder EnableDeferredUpdate(bool enableDeferredUpdate = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enableDeferredUpdate |
|
Returns
EnableGrouping(Boolean)
Enable grouping for the labels.
Declaration
public RangeNavigatorBuilder EnableGrouping(bool enableGrouping = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enableGrouping |
|
Returns
EnablePersistence(Boolean)
Enable or disable persisting component's state between page reloads.
Declaration
public RangeNavigatorBuilder EnablePersistence(bool enablePersistence = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
|
Returns
EnableRtl(Boolean)
Enable or disable rendering component in right to left direction.
Declaration
public RangeNavigatorBuilder EnableRtl(bool enableRtl = true)
Parameters
Type |
Name |
Description |
System.Boolean |
enableRtl |
|
Returns
GroupBy(RangeIntervalType)
GroupBy property for the axis.
Declaration
public RangeNavigatorBuilder GroupBy(RangeIntervalType groupBy)
Parameters
Returns
Height(String)
The height of the chart as a string accepts input both as '100px' or '100%'.
If specified as '100%, range navigator renders to the full height of its parent element.
Declaration
public RangeNavigatorBuilder Height(string height)
Parameters
Type |
Name |
Description |
System.String |
height |
|
Returns
HtmlAttributes(Object)
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public RangeNavigatorBuilder HtmlAttributes(object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Object |
htmlAttributes |
|
Returns
Interval(Double)
interval value for the axis.
Declaration
public RangeNavigatorBuilder Interval(double interval)
Parameters
Type |
Name |
Description |
System.Double |
interval |
|
Returns
IntervalType(RangeIntervalType)
IntervalType for the dateTime axis.
Declaration
public RangeNavigatorBuilder IntervalType(RangeIntervalType intervalType)
Parameters
Returns
Used to format the axis label that accepts any global string format like 'C', 'n1', 'P' etc.
It also accepts placeholder like '{value}°C' in which value represent the axis label, e.g, 20°C.
Declaration
public RangeNavigatorBuilder LabelFormat(string labelFormat)
Parameters
Type |
Name |
Description |
System.String |
labelFormat |
|
Returns
LabelIntersectAction(RangeLabelIntersectAction)
Specifies, when the axis labels intersect with each other.They are,
None: Shows all the labels.
Hide: Hides the label when it intersects.
Declaration
public RangeNavigatorBuilder LabelIntersectAction(RangeLabelIntersectAction labelIntersectAction)
Parameters
Returns
LabelPlacement(NavigatorPlacement)
Specifies the placement of labels to the axis line. They are,
betweenTicks - Render the label between the ticks.
onTicks - Render the label on the ticks.
auto - Render the label between or on the tick based on data.
Declaration
public RangeNavigatorBuilder LabelPlacement(NavigatorPlacement labelPlacement)
Parameters
Returns
LabelPosition(AxisPosition)
Label positions for the axis.
Declaration
public RangeNavigatorBuilder LabelPosition(AxisPosition labelPosition)
Parameters
Returns
LabelRender(String)
Triggers before the label rendering.
Declaration
public RangeNavigatorBuilder LabelRender(string labelRender)
Parameters
Type |
Name |
Description |
System.String |
labelRender |
|
Returns
LabelStyle(RangeNavigatorFont)
Label style for the labels.
Declaration
public RangeNavigatorBuilder LabelStyle(RangeNavigatorFont labelStyle)
Parameters
Returns
LabelStyle(Action<RangeNavigatorFontBuilder>)
Declaration
public RangeNavigatorBuilder LabelStyle(Action<RangeNavigatorFontBuilder> labelStyle)
Parameters
Returns
Load(String)
Triggers before the range navigator rendering.
Declaration
public RangeNavigatorBuilder Load(string load)
Parameters
Type |
Name |
Description |
System.String |
load |
|
Returns
Loaded(String)
Triggers after the range navigator rendering.
Declaration
public RangeNavigatorBuilder Loaded(string loaded)
Parameters
Type |
Name |
Description |
System.String |
loaded |
|
Returns
Locale(String)
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public RangeNavigatorBuilder Locale(string locale)
Parameters
Type |
Name |
Description |
System.String |
locale |
|
Returns
LogBase(Double)
Declaration
public RangeNavigatorBuilder LogBase(double logBase)
Parameters
Type |
Name |
Description |
System.Double |
logBase |
|
Returns
MajorGridLines(RangeNavigatorMajorGridLines)
Declaration
public RangeNavigatorBuilder MajorGridLines(RangeNavigatorMajorGridLines majorGridLines)
Parameters
Returns
MajorGridLines(Action<RangeNavigatorMajorGridLinesBuilder>)
Declaration
public RangeNavigatorBuilder MajorGridLines(Action<RangeNavigatorMajorGridLinesBuilder> majorGridLines)
Parameters
Returns
MajorTickLines(RangeNavigatorMajorTickLines)
Declaration
public RangeNavigatorBuilder MajorTickLines(RangeNavigatorMajorTickLines majorTickLines)
Parameters
Returns
MajorTickLines(Action<RangeNavigatorMajorTickLinesBuilder>)
Declaration
public RangeNavigatorBuilder MajorTickLines(Action<RangeNavigatorMajorTickLinesBuilder> majorTickLines)
Parameters
Returns
Margin(RangeNavigatorMargin)
Margin for the range navigator
Declaration
public RangeNavigatorBuilder Margin(RangeNavigatorMargin margin)
Parameters
Returns
Margin(Action<RangeNavigatorMarginBuilder>)
Declaration
public RangeNavigatorBuilder Margin(Action<RangeNavigatorMarginBuilder> margin)
Parameters
Returns
Maximum(Double)
Maximum value for the axis
Declaration
public RangeNavigatorBuilder Maximum(double maximum)
Parameters
Type |
Name |
Description |
System.Double |
maximum |
|
Returns
Maximum(String)
Maximum value for the axis
Declaration
public RangeNavigatorBuilder Maximum(string maximum)
Parameters
Type |
Name |
Description |
System.String |
maximum |
|
Returns
Minimum(Double)
Minimum value for the axis
Declaration
public RangeNavigatorBuilder Minimum(double minimum)
Parameters
Type |
Name |
Description |
System.Double |
minimum |
|
Returns
Minimum(String)
Minimum value for the axis
Declaration
public RangeNavigatorBuilder Minimum(string minimum)
Parameters
Type |
Name |
Description |
System.String |
minimum |
|
Returns
NavigatorBorder(RangeNavigatorBorder)
Options for customizing the color and width of the chart border.
Declaration
public RangeNavigatorBuilder NavigatorBorder(RangeNavigatorBorder navigatorBorder)
Parameters
Returns
NavigatorBorder(Action<RangeNavigatorBorderBuilder>)
Declaration
public RangeNavigatorBuilder NavigatorBorder(Action<RangeNavigatorBorderBuilder> navigatorBorder)
Parameters
Returns
NavigatorStyleSettings(RangeNavigatorStyleSettings)
Declaration
public RangeNavigatorBuilder NavigatorStyleSettings(RangeNavigatorStyleSettings navigatorStyleSettings)
Parameters
Returns
NavigatorStyleSettings(Action<RangeNavigatorStyleSettingsBuilder>)
Declaration
public RangeNavigatorBuilder NavigatorStyleSettings(Action<RangeNavigatorStyleSettingsBuilder> navigatorStyleSettings)
Parameters
Returns
PeriodSelectorSettings(RangeNavigatorPeriodSelectorSettings)
Declaration
public RangeNavigatorBuilder PeriodSelectorSettings(RangeNavigatorPeriodSelectorSettings periodSelectorSettings)
Parameters
Returns
PeriodSelectorSettings(Action<RangeNavigatorPeriodSelectorSettingsBuilder>)
Declaration
public RangeNavigatorBuilder PeriodSelectorSettings(Action<RangeNavigatorPeriodSelectorSettingsBuilder> periodSelectorSettings)
Parameters
Returns
Query(String)
It defines the query for the data source.
Declaration
public RangeNavigatorBuilder Query(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
|
Returns
Render()
Declaration
public HtmlString Render()
Returns
Type |
Description |
Microsoft.AspNetCore.Html.HtmlString |
|
Resized(String)
Triggers after the range navigator resized
Declaration
public RangeNavigatorBuilder Resized(string resized)
Parameters
Type |
Name |
Description |
System.String |
resized |
|
Returns
SecondaryLabelAlignment(LabelAlignment)
It specifies the label alignment for secondary axis labels
Declaration
public RangeNavigatorBuilder SecondaryLabelAlignment(LabelAlignment secondaryLabelAlignment)
Parameters
Returns
SelectorRender(String)
Triggers before the range navigator selector rendering.
Declaration
public RangeNavigatorBuilder SelectorRender(string selectorRender)
Parameters
Type |
Name |
Description |
System.String |
selectorRender |
|
Returns
Series(Action<RangeNavigatorRangenavigatorSeriesBuilder>)
Declaration
public RangeNavigatorBuilder Series(Action<RangeNavigatorRangenavigatorSeriesBuilder> series)
Parameters
Returns
Series(List<RangeNavigatorRangenavigatorSeries>)
It defines the configuration of series in the range navigator
Declaration
public RangeNavigatorBuilder Series(List<RangeNavigatorRangenavigatorSeries> series)
Parameters
Returns
Skeleton(String)
Specifies the skeleton format in which the dateTime format will process.
Declaration
public RangeNavigatorBuilder Skeleton(string skeleton)
Parameters
Type |
Name |
Description |
System.String |
skeleton |
|
Returns
SkeletonType(SkeletonType)
It specifies the type of format to be used in dateTime format process.
Declaration
public RangeNavigatorBuilder SkeletonType(SkeletonType skeletonType)
Parameters
Returns
Theme(ChartTheme)
Specifies the theme for the range navigator.
Declaration
public RangeNavigatorBuilder Theme(ChartTheme theme)
Parameters
Returns
TickPosition(AxisPosition)
Tick Position for the axis
Declaration
public RangeNavigatorBuilder TickPosition(AxisPosition tickPosition)
Parameters
Returns
Options for customizing the tooltip of the chart.
Declaration
public RangeNavigatorBuilder Tooltip(RangeNavigatorRangeTooltipSettings tooltip)
Parameters
Returns
Declaration
public RangeNavigatorBuilder Tooltip(Action<RangeNavigatorRangeTooltipSettingsBuilder> tooltip)
Parameters
Returns
Triggers before the tooltip for series is rendered.
Declaration
public RangeNavigatorBuilder TooltipRender(string tooltipRender)
Parameters
Type |
Name |
Description |
System.String |
tooltipRender |
|
Returns
UseGroupingSeparator(Boolean)
Specifies whether a grouping separator should be used for a number.
Declaration
public RangeNavigatorBuilder UseGroupingSeparator(bool useGroupingSeparator = true)
Parameters
Type |
Name |
Description |
System.Boolean |
useGroupingSeparator |
|
Returns
Value(Double[])
Selected range for range navigator.
Declaration
public RangeNavigatorBuilder Value(double[] value)
Parameters
Type |
Name |
Description |
System.Double[] |
value |
|
Returns
Value(Object)
Selected range for range navigator.
Declaration
public RangeNavigatorBuilder Value(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
ValueType(RangeValueType)
Specifies the data types that the axis can handle:
Double: This type is used for rendering a numeric axis to accommodate numeric data.
DateTime: This type is utilized for rendering a date-time axis to manage date-time data.
Logarithmic: This type is applied for rendering a logarithmic axis to handle a wide range of values.
DateTimeCategory: This type is used to render a date time category axis for managing business days.
Declaration
public RangeNavigatorBuilder ValueType(RangeValueType valueType)
Parameters
Returns
Width(String)
The width of the range navigator as a string accepts input as both like '100px' or '100%'.
If specified as '100%, range navigator renders to the full width of its parent element.
Declaration
public RangeNavigatorBuilder Width(string width)
Parameters
Type |
Name |
Description |
System.String |
width |
|
Returns
XName(String)
It defines the xName for the range navigator.
Declaration
public RangeNavigatorBuilder XName(string xName)
Parameters
Type |
Name |
Description |
System.String |
xName |
|
Returns
YName(String)
It defines the yName for the range navigator.
Declaration
public RangeNavigatorBuilder YName(string yName)
Parameters
Type |
Name |
Description |
System.String |
yName |
|
Returns