ChartJS
Wisej.Web.Ext.ChartJS.ChartJS
Namespace: Wisej.Web.Ext.ChartJS
Assembly: Wisej.Web.Ext.ChartJS (3.2.0.0)
ChartJS is a simple yet flexible JavaScript charting for designers and developers from http://www.chartjs.org/.
Constructors
Constructs a new instance of the ChartJS control.
Properties
ChartType: Returns or sets the ChartType. (Default: Line
)
DataSetCollection: Returns or sets the data sets to plot the chart.
String: Overridden to create our initialization script.
String[]: Returns or sets the labels for the data points.
Options: Chart options specific for the value of ChartType. (Default: null
)
List<Package>: Overridden to return our list of script resources.
Methods
Returns the chart as a PNG image.
Parameter | Type | Description |
---|---|---|
callback | Callback method that receives the image. |
Returns the chart as a PNG image.
Returns: Task<Image>. An Image with a representation of the chart.
Causes the chart to update the data set and labels. It performs a smooth animated transition from one data set to the new one.
Parameter | Type | Description |
---|---|---|
duration | Duration of the update animation in milliseconds. The default is 300 milliseconds. |
Events
ChartClickEventHandler Fired when the user clicks a data point on the chart.
Last updated