ejBulletGraph
Namespace: Wisej.Web.Ext.Syncfusion
Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)
BulletGraphs are easy to interpret and also it conveys much more information to the user by visualizing the data in a small amount of space.
- C#
- VB.NET
public class ejBulletGraph : ejBase
Public Class ejBulletGraph
Inherits ejBase
It is generally used to compare a primary measure to one or more other measures in the context of qualitative ranges of performance. Occasionally, the BulletGraphs are also used to compare the same measure across multiple categories.
Constructors
ejBulletGraph()
Constructs a new instance of the ejBulletGraph class.
Example:
The following example creates the control and sets the measures through the options.
var bullet = new ejBulletGraph();
bullet.Options.value = 7.2;
bullet.Options.comparativeMeasureValue = 8;
bullet.Options.quantitativeScaleSettings = new { minimum = 0, maximum = 10, interval = 1 };
bullet.Size = new Size(500, 100);
this.Controls.Add(bullet);
ejBulletGraph(options)
Constructs a new instance of the ejBulletGraph class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example compares the current revenue with the target over three qualitative ranges.
var bullet = new ejBulletGraph(new
{
value = 270,
comparativeMeasureValue = 250,
quantitativeScaleSettings = new { minimum = 0, maximum = 300, interval = 50 },
qualitativeRanges = new[]
{
new { rangeEnd = 150 },
new { rangeEnd = 225 },
new { rangeEnd = 300 }
},
captionSettings = new { text = "Revenue" }
});
bullet.Size = new Size(500, 100);
this.Controls.Add(bullet);