A newer version of this page is available. Switch to the current version.

BootstrapSparkline Class

Represents a Sparkline control.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll


[ToolboxTabName("DX.18.2: Bootstrap Controls")]
[ToolboxBitmap(typeof(BootstrapToolboxBitmapAccess), "Bitmaps256.BootstrapSparkline.bmp")]
public class BootstrapSparkline :
<ToolboxTabName("DX.18.2: Bootstrap Controls")>
<ToolboxBitmap(GetType(BootstrapToolboxBitmapAccess), "Bitmaps256.BootstrapSparkline.bmp")>
Public Class BootstrapSparkline
    Inherits BootstrapWebClientUIWidget


The Bootstrap Sparkline control is a compact chart that contains only one series. A series is a group of related data points. The most important characteristic of a series is its type, which determines a specific visual presentation of data. Owing to their size, sparklines occupy very little space and can be easily collected in a table or embedded straight in text.



The BootstrapSparkline control provides you with comprehensive client-side functionality implemented using JavaScript code (see DevExpress.Web.Bootstrap.Scripts to learn more):

  • The control's client-side equivalent is represented by the DevExpress.Web.Bootstrap.Scripts.BootstrapClientSparkline object.
  • On the client side, the client object can be accessed directly by the name specified via the BootstrapSparkline.ClientInstanceName property.
  • The available client events can be accessed by using the BootstrapSparkline.ClientSideEvents property.
See Also