Add support for chart.js version parameter (#4)
This commit is contained in:
parent
fbb6deee1a
commit
3735d4d181
3 changed files with 40 additions and 2 deletions
|
|
@ -26,13 +26,14 @@ Chart qc = new Chart();
|
|||
|
||||
qc.Width = 500;
|
||||
qc.Height = 300;
|
||||
qc.Version = "2.9.4";
|
||||
qc.Config = @"{
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ['Q1', 'Q2', 'Q3', 'Q4'],
|
||||
datasets: [{
|
||||
label: 'Users',
|
||||
data: [50, 60, 70, 180]
|
||||
label: 'Users',
|
||||
data: [50, 60, 70, 180]
|
||||
}]
|
||||
}
|
||||
}";
|
||||
|
|
@ -80,6 +81,9 @@ The device pixel ratio of the chart. This will multiply the number of pixels by
|
|||
#### Format: string
|
||||
The output format of the chart. Defaults to "png"
|
||||
|
||||
#### Version: string
|
||||
Chart.js version (not required)
|
||||
|
||||
#### Key: string
|
||||
API key (not required)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue