123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- let string = 'string';
- let bool = 'boolean';
- let number = 'number';
- let object = 'object';
- let colorOptions = {
- fill : { string },
- stroke : { string },
- strokeWidth: { number },
- __type__ : { string, object, 'undefined': 'undefined' }
- };
- let allOptions = {
- animationAutoStart: { boolean: bool, 'undefined': 'undefined' },
- animationInterval : { number },
- animationPreload : { boolean: bool },
- axisColor : { string },
- backgroundColor : colorOptions,
- xBarWidth : { number, 'undefined': 'undefined' },
- yBarWidth : { number, 'undefined': 'undefined' },
- cameraPosition : {
- distance : { number },
- horizontal: { number },
- vertical : { number },
- __type__ : { object }
- },
- xCenter : { string },
- yCenter : { string },
- dataColor : colorOptions,
- dotSizeMinFraction: { number },
- dotSizeMaxFraction: { number },
- dotSizeRatio : { number },
- filterLabel : { string },
- gridColor : { string },
- onclick : { 'function': 'function' },
- keepAspectRatio : { boolean: bool },
- xLabel : { string },
- yLabel : { string },
- zLabel : { string },
- legendLabel : { string },
- xMin : { number, 'undefined': 'undefined' },
- yMin : { number, 'undefined': 'undefined' },
- zMin : { number, 'undefined': 'undefined' },
- xMax : { number, 'undefined': 'undefined' },
- yMax : { number, 'undefined': 'undefined' },
- zMax : { number, 'undefined': 'undefined' },
- showAnimationControls: { boolean: bool, 'undefined': 'undefined' },
- showGrid : { boolean: bool },
- showLegend : { boolean: bool, 'undefined': 'undefined' },
- showPerspective : { boolean: bool },
- showShadow : { boolean: bool },
- showXAxis : { boolean: bool },
- showYAxis : { boolean: bool },
- showZAxis : { boolean: bool },
- xStep : { number, 'undefined': 'undefined' },
- yStep : { number, 'undefined': 'undefined' },
- zStep : { number, 'undefined': 'undefined' },
- style: {
- number,
- string: [
- 'bar',
- 'bar-color',
- 'bar-size',
- 'dot',
- 'dot-line',
- 'dot-color',
- 'dot-size',
- 'line',
- 'grid',
- 'surface'
- ]
- },
- tooltip : { boolean: bool, 'function': 'function' },
- tooltipStyle : {
- content: {
- color : { string },
- background : { string },
- border : { string },
- borderRadius: { string },
- boxShadow : { string },
- padding : { string },
- __type__ : { object }
- },
- line: {
- borderLeft: { string },
- height : { string },
- width : { string },
- __type__ : { object }
- },
- dot: {
- border : { string },
- borderRadius: { string },
- height : { string },
- width : { string },
- __type__ : { object},
- },
- __type__: { object}
- },
- xValueLabel : { 'function': 'function' },
- yValueLabel : { 'function': 'function' },
- zValueLabel : { 'function': 'function' },
- valueMax : { number, 'undefined': 'undefined' },
- valueMin : { number, 'undefined': 'undefined' },
- verticalRatio : { number },
-
- height: { string },
- width: { string },
- __type__: { object }
- };
- export {allOptions};
|