-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecharts_example.d_chart.js
37 lines (37 loc) · 1.34 KB
/
echarts_example.d_chart.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
25
26
27
28
29
30
31
32
33
34
35
36
37
echarts
.init(document.getElementById('d_chart'))
.setOption({
title: {
text: 'D\'',
},
xAxis: {
type: 'category',
show: false,
},
yAxis: {
type: 'value',
name: 'D\'',
nameLocation: 'middle',
nameGap: 25,
min: -1,
max: 1,
},
series: [
{
type: 'line',
data: [
{ value: -0.25, name: 'com.jeantessier.text' },
{ value: -0.19, name: 'com.jeantessier.dependencyfinder' },
{ value: -0.10, name: 'com.jeantessier.commandline' },
{ value: -0.06, name: 'com.jeantessier.classreader' },
{ value: -0.02, name: 'com.jeantessier.dependency' },
{ value: 0.00, name: 'com.jeantessier.dependencyfinder.gui' },
{ value: 0.06, name: 'com.jeantessier.classreader.impl' },
{ value: 0.08, name: 'com.jeantessier.dependencyfinder.ant' },
{ value: 0.12, name: 'com.jeantessier.metrics' },
{ value: 0.17, name: 'com.jeantessier.dependencyfinder.cli' },
{ value: 0.20, name: 'com.jeantessier.diff' },
],
},
],
})