/
default.js
24 lines (24 loc) · 1011 Bytes
/
default.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
define( [ 'plugin/charts/forms/inputs' ], function( Inputs ) {
return {
title : '',
category : '',
library : '',
tag : '',
keywords : '',
settings : {
x_axis_label : Inputs.axisLabel( 'x_axis_label' ),
x_axis_type : Inputs.axisType( 'x_axis_type' ),
y_axis_label : Inputs.axisLabel( 'y_axis_label' ),
y_axis_type : Inputs.axisType( 'y_axis_type' ),
show_legend : Inputs.boolean( 'show_legend', { label: 'Show legend', help: 'Would you like to add a legend?' } ),
use_panels : Inputs.boolean( 'use_panels', { label: 'Use multi-panels', help: 'Would you like to separate your data into individual panels?' } )
},
series : [{
name : 'key',
label : 'Provide a label',
type : 'text',
placeholder : 'Data label',
value : 'Data label'
}]
}
});