Skip to content

Commit

Permalink
Fixes JSDOC on ClayCharts | Fixes liferay#736
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed Mar 15, 2018
1 parent fdd46b6 commit c7f1cf3
Show file tree
Hide file tree
Showing 16 changed files with 144 additions and 144 deletions.
4 changes: 2 additions & 2 deletions packages/clay-charts/src/AreaLineChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class AreaLineChart extends Chart {}
AreaLineChart.STATE = {
/**
* The variety of chart that will be rendered.
* @default area
* @instance
* @memberof AreaLineChart
* @type {?string|undefined}
* @default area
* @type {?(string|undefined)}
*/
type: Config.oneOf(types.area).value('area'),
};
Expand Down
4 changes: 2 additions & 2 deletions packages/clay-charts/src/AreaSplineChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class AreaSplineChart extends Chart {}
AreaSplineChart.STATE = {
/**
* The variety of chart that will be rendered.
* @default area-spline
* @instance
* @memberof AreaSplineChart
* @type {?string|undefined}
* @default area-spline
* @type {?(string|undefined)}
*/
type: Config.oneOf(types.area).value('area-spline'),
};
Expand Down
4 changes: 2 additions & 2 deletions packages/clay-charts/src/AreaStepChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class AreaStepChart extends Chart {}
AreaStepChart.STATE = {
/**
* The variety of chart that will be rendered.
* @default area
* @instance
* @memberof AreaStepChart
* @type {?string|undefined}
* @default area
* @type {?(string|undefined)}
*/
type: Config.oneOf(types.area).value('area-step'),
};
Expand Down
4 changes: 2 additions & 2 deletions packages/clay-charts/src/BarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class BarChart extends Chart {}
BarChart.STATE = {
/**
* The variety of chart that will be rendered.
* @default bar
* @instance
* @memberof BarChart
* @type {?string|undefined}
* @default bar
* @type {?(string|undefined)}
*/
type: Config.oneOf(types.point).value('bar'),
};
Expand Down
6 changes: 3 additions & 3 deletions packages/clay-charts/src/BubbleChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ class BubbleChart extends Chart {}
BubbleChart.STATE = {
/**
* Labels visibility
* @default true
* @instance
* @memberof BubbleChart
* @type {Boolean}
* @default true
*/
labels: Config.bool().value(true),

/**
* The variety of chart that will be rendered.
* @default donut
* @instance
* @memberof DonutChart
* @type {?string|undefined}
* @default donut
* @type {?(string|undefined)}
*/
type: Config.string().value('bubble'),
};
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-charts/src/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import templates from './Chart.soy.js';

/**
* Metal Chart component.
* @extends Component
* @extends ChartBase
* @extends Component
*/
class Chart extends DataComponent {}

Expand Down
Loading

0 comments on commit c7f1cf3

Please sign in to comment.