0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

レーダーチャートを試してみる (2)

0
Posted at

レーダーチャート (2) | Chart.js

  • ポイント表示ではなく、パーセント表示にしたい
var options = {
	scale: {
		ticks: {min: 0, max: 1, stepSize: 0.2, display: false}
	}
};
  • データの値を小数値で設定したい
var data = {
	labels: ["A1", "A2", "A3", "A4", "A5"], 
	datasets: [{
		data: [0.9, 0.5, 0, 0.25, 0.7]
	}]
};

var data = {
	labels: ["B1", "B2", "B3", "B4", "B5"], 
	datasets: [{
		data: [1, 0.7, 0.25, 0.5, 0.9]
	}]
};
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?