Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add radar chart config options #6393

Merged
merged 3 commits into from Jul 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/charts/radar.md
Expand Up @@ -143,7 +143,11 @@ The interaction with each point can be controlled with the following properties:

## Configuration Options

Unlike other charts, the radar chart has no chart specific options.
The radar chart defines the following configuration options. These options are merged with the global chart configuration options, `Chart.defaults.global`, to form the options passed to the chart.

| Name | Type | Default | Description
| ---- | ---- | ------- | -----------
| `spanGaps` | `boolean` | `false` | If false, NaN data causes a break in the line.

## Scale Options

Expand Down
1 change: 1 addition & 0 deletions src/controllers/controller.radar.js
Expand Up @@ -8,6 +8,7 @@ var helpers = require('../helpers/index');
var valueOrDefault = helpers.valueOrDefault;

defaults._set('radar', {
spanGaps: false,
scale: {
type: 'radialLinear'
},
Expand Down