Represents a sparkline chart.

Inheritance

Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable
  • IDisposable

constructor

public IgbSparkline()

Returns IgbSparkline

Inherited from: BaseRendererControl

[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public string Height { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public string Width { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public string Class { get; set; }

Inherited from: BaseRendererControl

[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object> AdditionalAttributes { get; set; }

Inherited from: BaseRendererControl

Gets or sets how events are bubbled up from JavaScript to Blazor.

[Parameter]
public ControlEventBehavior EventBehavior { get; set; }

Inherited from: BaseRendererControl

[Parameter]
public RenderFragment ChildContent { get; set; }

Inherited from: BaseRendererControl

Gets or sets what type of date conversion to make when round tripping dates.

[Parameter]
public RoundTripDateConversion RoundTripDateConversion { get; set; }

Inherited from: BaseRendererControl

protected virtual bool SupportsVisualChildren { get; }

Inherited from: BaseRendererControl

protected virtual bool UseDirectRender { get; }

Inherited from: BaseRendererControl

protected virtual string DirectRenderElementName { get; }

Inherited from: BaseRendererControl

protected virtual bool NeedsDynamicContent { get; }

Inherited from: BaseRendererControl

protected virtual bool UseCamelEnumValues { get; }

ActualHorizontalLabelFormatSpecifiers

Section titled "ActualHorizontalLabelFormatSpecifiers"
public IgbFormatSpecifierCollection ActualHorizontalLabelFormatSpecifiers { get; }

Gets the actual scaling value used by the component to affect the pixel density of the control.

[Parameter]
public double ActualPixelScalingRatio { get; set; }

ActualVerticalLabelFormatSpecifiers

Section titled "ActualVerticalLabelFormatSpecifiers"
public IgbFormatSpecifierCollection ActualVerticalLabelFormatSpecifiers { get; }

Gets or sets the sparkline brush.

[Parameter]
public string Brush { get; set; }

ContentHorizontalLabelFormatSpecifiers

Section titled "ContentHorizontalLabelFormatSpecifiers"
public IgbFormatSpecifierCollection ContentHorizontalLabelFormatSpecifiers { get; }

ContentVerticalLabelFormatSpecifiers

Section titled "ContentVerticalLabelFormatSpecifiers"
public IgbFormatSpecifierCollection ContentVerticalLabelFormatSpecifiers { get; }

Gets or sets the ItemsSource of the sparkline.

[Parameter]
public object DataSource { get; set; }

Provides a means of setting DataSource in the JavaScript environment.

[Parameter]
public string DataSourceScript { get; set; }

Gets the components default event behavior.

protected override ControlEventBehavior DefaultEventBehavior { get; }

Gets or sets the position of the normal range on the sparkline.

[Parameter]
public bool DisplayNormalRangeInFront { get; set; }

Gets or sets the display type of the sparkline.

[Parameter]
public SparklineDisplayType DisplayType { get; set; }

Gets or sets the first marker brush of the sparkline.

[Parameter]
public string FirstMarkerBrush { get; set; }

Gets or sets the first marker size of the sparkline.

[Parameter]
public double FirstMarkerSize { get; set; }

Gets or sets the first marker visibility of the sparkline.

[Parameter]
public Visibility FirstMarkerVisibility { get; set; }
[Parameter]
public string FontFamily { get; set; }
[Parameter]
public double FontSize { get; set; }
[Parameter]
public string FontStyle { get; set; }
[Parameter]
public string FontWeight { get; set; }

Sets or gets a function which takes an object that produces a formatted label for displaying in the chart.

[Parameter]
public string FormatLabel { get; set; }

Provides a means of setting FormatLabel in the JavaScript environment.

[Parameter]
public string FormatLabelScript { get; set; }

Gets or sets the high marker brush of the sparkline.

[Parameter]
public string HighMarkerBrush { get; set; }

Gets or sets the high marker size of the sparkline.

[Parameter]
public double HighMarkerSize { get; set; }

Gets or sets the high marker visibility of the sparkline.

[Parameter]
public Visibility HighMarkerVisibility { get; set; }

Gets or sets the horizontal axis line brush of the sparkline.

[Parameter]
public string HorizontalAxisBrush { get; set; }

The value or content to display on the horizontal axis.

[Parameter]
public object HorizontalAxisLabel { get; set; }

Provides a means of setting HorizontalAxisLabel in the JavaScript environment.

[Parameter]
public string HorizontalAxisLabelScript { get; set; }

Gets or sets the display state of the horizontal axis.

[Parameter]
public Visibility HorizontalAxisVisibility { get; set; }

Gets or sets the label composite format used when creating label values.

[Parameter]
public string HorizontalLabelFormat { get; set; }

Gets or sets the format specifiers to use with the HorizontalLabelFormat string.

public IgbFormatSpecifierCollection HorizontalLabelFormatSpecifiers { get; set; }

String identifier of a column or property name to get labels from on each item in the data source. These labels will be retrieved from the first and last item, and displayed by the horizontal axis.

[Parameter]
public string LabelMemberPath { get; set; }

Gets or sets the last marker brush of the sparkline.

[Parameter]
public string LastMarkerBrush { get; set; }

Gets or sets the last marker size of the sparkline.

[Parameter]
public double LastMarkerSize { get; set; }

Gets or sets the last marker visibility of the sparkline.

[Parameter]
public Visibility LastMarkerVisibility { get; set; }

Gets or sets the line thickness of the sparkline.

[Parameter]
public double LineThickness { get; set; }

Gets or sets the low marker brush of the sparkline.

[Parameter]
public string LowMarkerBrush { get; set; }

Gets or sets the low marker size of the sparkline.

[Parameter]
public double LowMarkerSize { get; set; }

Gets or sets the low marker visibility of the sparkline.

[Parameter]
public Visibility LowMarkerVisibility { get; set; }

Gets or sets the marker brush of the sparkline.

[Parameter]
public string MarkerBrush { get; set; }

Gets or sets the marker size of the sparkline.

[Parameter]
public double MarkerSize { get; set; }

Gets or sets the marker visibility of the sparkline.

[Parameter]
public Visibility MarkerVisibility { get; set; }

Gets or sets the maximum value of the y axis.

[Parameter]
public double Maximum { get; set; }

Gets or sets the minimum value of the y axis.

[Parameter]
public double Minimum { get; set; }

Gets or sets the negative brush of the sparkline.

[Parameter]
public string NegativeBrush { get; set; }

Gets or sets the negative marker brush of the sparkline.

[Parameter]
public string NegativeMarkerBrush { get; set; }

Gets or sets the negative marker size of the sparkline.

[Parameter]
public double NegativeMarkerSize { get; set; }

Gets or sets the negative marker visibility of the sparkline.

[Parameter]
public Visibility NegativeMarkerVisibility { get; set; }

Gets or sets the normal range brush of the sparkline.

[Parameter]
public string NormalRangeFill { get; set; }

Gets or sets the maximum value of the normal range.

[Parameter]
public double NormalRangeMaximum { get; set; }

Gets or sets the minimum value of the normal range.

[Parameter]
public double NormalRangeMinimum { get; set; }

Gets or sets the normal range visibility of the sparkline.

[Parameter]
public Visibility NormalRangeVisibility { get; set; }
protected override string ParentTypeName { get; }

Gets or sets the scaling value used to affect the pixel density of the control.

[Parameter]
public double PixelScalingRatio { get; set; }

Gets or sets the text color for the axis labels.

[Parameter]
public string TextColor { get; set; }

Gets or sets the trendline brush of the sparkline.

[Parameter]
public string TrendLineBrush { get; set; }

Gets or sets the trendline period used by the sparkline.

[Parameter]
public int TrendLinePeriod { get; set; }

Gets or sets the thickness of the sparkline's trendline.

[Parameter]
public double TrendLineThickness { get; set; }

Gets or sets the type of trendline used by the sparkline.

[Parameter]
public TrendLineType TrendLineType { get; set; }
public override string Type { get; }

Gets or sets the way null values are interpreted.

[Parameter]
public UnknownValuePlotting UnknownValuePlotting { get; set; }

Gets or sets the string path to the value column.

[Parameter]
public string ValueMemberPath { get; set; }

Gets or sets the vertical axis line brush of the sparkline.

[Parameter]
public string VerticalAxisBrush { get; set; }

The value or content to display on the vertical axis.

[Parameter]
public object VerticalAxisLabel { get; set; }

Provides a means of setting VerticalAxisLabel in the JavaScript environment.

[Parameter]
public string VerticalAxisLabelScript { get; set; }

Gets or sets the display state of the vertical axis.

[Parameter]
public Visibility VerticalAxisVisibility { get; set; }

Gets or sets the label composite format used when creating label values.

[Parameter]
public string VerticalLabelFormat { get; set; }

Gets or sets the format specifiers to use with the VerticalLabelFormat string.

public IgbFormatSpecifierCollection VerticalLabelFormatSpecifiers { get; set; }

Inherited from: BaseRendererControl

protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache

Inherited from: BaseRendererControl

protected string _cachedSerializedContent

Inherited from: BaseRendererControl

Resolves the components event behavior if Auto is selected.

protected ControlEventBehavior ResolveEventBehavior()

Returns any

Inherited from: BaseRendererControl

protected virtual string ResolveDisplay()

Returns any

Inherited from: BaseRendererControl

protected string ToSpinal(string value)

Parameters

  • value: string

Returns any

Inherited from: BaseRendererControl

protected virtual string TransformSimpleKey(string key)

Parameters

  • key: string

Returns any

Inherited from: BaseRendererControl

protected virtual bool IsTransformedEnumValue(string key)

Parameters

  • key: string

Returns any

TransformPotentialEnumValue(string, object)

Section titled "TransformPotentialEnumValue(string, object)"

Inherited from: BaseRendererControl

protected virtual object TransformPotentialEnumValue(string key, object value)

Parameters

  • key: string
  • value: object

Returns any

Inherited from: BaseRendererControl

protected virtual SequenceInfo BuildSequenceInfo(int startSequence)

Parameters

  • startSequence: int

Returns any

Inherited from: BaseRendererControl

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

  • builder: RenderTreeBuilder

Returns any

Inherited from: BaseRendererControl

protected Type TemplateContentType(string templateId)

Parameters

  • templateId: string

Returns any

Inherited from: BaseRendererControl

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

  • firstRender: bool

Returns any

Inherited from: BaseRendererControl

public Task EnsureReady()

Returns any

Inherited from: BaseRendererControl

protected void MarkPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

Inherited from: BaseRendererControl

protected bool IsPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

Serialize(SerializationContext, string)

Section titled "Serialize(SerializationContext, string)"

Inherited from: BaseRendererControl

public void Serialize(SerializationContext context, string propertyName = null)

Parameters

  • context: SerializationContext
  • propertyName: string

Returns any

Inherited from: BaseRendererControl

public string Serialize()

Returns any

InvokeMethod(string, object[], string[], ElementReference[])

Section titled "InvokeMethod(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererControl

protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodSync(string, object[], string[], ElementReference[])

Section titled "InvokeMethodSync(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererControl

protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

Inherited from: BaseRendererControl

Prevents data change notifications from be propagated to the component.

public void SuspendNotifications(object dataSource)

Parameters

  • dataSource: object

Returns any

Inherited from: BaseRendererControl

Resumes data change notifications.

public void ResumeNotifications(object dataSource, bool notify = true)

Parameters

  • dataSource: object
  • notify: bool

Returns any

NotifyUpdateItem(object, int, object, bool)

Section titled "NotifyUpdateItem(object, int, object, bool)"

Inherited from: BaseRendererControl

public void NotifyUpdateItem(object dataSource, int index, object refItem, bool syncDataOnly = false)

Parameters

  • dataSource: object
  • index: int
  • refItem: object
  • syncDataOnly: bool

Returns any

Inherited from: BaseRendererControl

public void OnRefChanged(string refName, object refValue)

Parameters

  • refName: string
  • refValue: object

Returns any

Inherited from: BaseRendererControl

public void OnInvokeReturn(long invokeId, object returnValue)

Parameters

  • invokeId: long
  • returnValue: object

Returns any

Inherited from: BaseRendererControl

protected string Camelize(string value)

Parameters

  • value: string

Returns any

Inherited from: BaseRendererControl

protected string ToPascal(string value)

Parameters

  • value: string

Returns any

OnElementNameChanged(BaseRendererElement, string, string)

Section titled "OnElementNameChanged(BaseRendererElement, string, string)"

Inherited from: BaseRendererControl

protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName)

Parameters

  • element: BaseRendererElement
  • oldName: string
  • newName: string

Returns any

Inherited from: BaseRendererControl

protected virtual void Dispose(bool disposing)

Parameters

  • disposing: bool

Returns any

SetResourceStringAsync(string, string, string)

Section titled "SetResourceStringAsync(string, string, string)"

Inherited from: BaseRendererControl

public Task<object> SetResourceStringAsync(string grouping, string id, string value)

Parameters

  • grouping: string
  • id: string
  • value: string

Returns any

SetResourceStringAsync(string, string)

Section titled "SetResourceStringAsync(string, string)"

Inherited from: BaseRendererControl

public Task<object> SetResourceStringAsync(string grouping, string json)

Parameters

  • grouping: string
  • json: string

Returns any

SetPropertyValue(object, PropertyInfo, JsonElement)

Section titled "SetPropertyValue(object, PropertyInfo, JsonElement)"

Inherited from: BaseRendererControl

protected void SetPropertyValue(object item, PropertyInfo property, JsonElement jsonElement)

Parameters

  • item: object
  • property: PropertyInfo
  • jsonElement: JsonElement

Returns any

SetPropertyValue(object, PropertyInfo, object)

Section titled "SetPropertyValue(object, PropertyInfo, object)"

Inherited from: BaseRendererControl

protected void SetPropertyValue(object item, PropertyInfo property, object value)

Parameters

  • item: object
  • property: PropertyInfo
  • value: object

Returns any

Inherited from: BaseRendererControl

public void Dispose()

Returns any

protected override void EnsureModulesLoaded()

Returns any

public string ExportSerializedVisualData()

Returns any

Returns visuals as a serialized string.

public Task<string> ExportSerializedVisualDataAsync()

Returns any

public override object FindByName(string name)

Parameters

  • name: string

Returns any

public void NotifyClearItems(object source_)

Parameters

  • source_: object

Returns any

Used to manually notify the IgbSparkline that the data source has reset or cleared its items. Invoking this method is only necessary if that datasource is not observable.

public Task NotifyClearItemsAsync(object source_)

Parameters

  • source_: object

Returns any

NotifyInsertItem(object, int, object)

Section titled "NotifyInsertItem(object, int, object)"
public void NotifyInsertItem(object source_, int index, object newItem)

Parameters

  • source_: object
  • index: int
  • newItem: object

Returns any

NotifyInsertItemAsync(object, int, object)

Section titled "NotifyInsertItemAsync(object, int, object)"
public Task NotifyInsertItemAsync(object source_, int index, object newItem)

Parameters

  • source_: object
  • index: int
  • newItem: object

Returns any

NotifyRemoveItem(object, int, object)

Section titled "NotifyRemoveItem(object, int, object)"
public void NotifyRemoveItem(object source_, int index, object oldItem)

Parameters

  • source_: object
  • index: int
  • oldItem: object

Returns any

NotifyRemoveItemAsync(object, int, object)

Section titled "NotifyRemoveItemAsync(object, int, object)"
public Task NotifyRemoveItemAsync(object source_, int index, object oldItem)

Parameters

  • source_: object
  • index: int
  • oldItem: object

Returns any

public void NotifyResized()

Returns any

Notify that the control has resized.

public Task NotifyResizedAsync()

Returns any

NotifySetItem(object, int, object, object)

Section titled "NotifySetItem(object, int, object, object)"
public void NotifySetItem(object source_, int index, object oldItem, object newItem)

Parameters

  • source_: object
  • index: int
  • oldItem: object
  • newItem: object

Returns any

NotifySetItemAsync(object, int, object, object)

Section titled "NotifySetItemAsync(object, int, object, object)"
public Task NotifySetItemAsync(object source_, int index, object oldItem, object newItem)

Parameters

  • source_: object
  • index: int
  • oldItem: object
  • newItem: object

Returns any

public void ProvideContainer(object container)

Parameters

  • container: object

Returns any

Provides a container to the sparkline control.

public Task ProvideContainerAsync(object container)

Parameters

  • container: object

Returns any