mirror of
https://github.com/tabler/tabler.git
synced 2026-08-14 23:32:25 +04:00
colors
This commit is contained in:
Vendored
+44
-12
@@ -14,7 +14,7 @@
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<link rel="icon" href="./favicon.ico" type="image/x-icon"/>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
|
||||
<!-- Generated: 2018-02-27 21:39:42 +0100 -->
|
||||
<!-- Generated: 2018-03-01 13:01:27 +0100 -->
|
||||
<title>Homepage - tabler.github.io - a responsive, flat and full featured admin template</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,500,500i,600,600i,700,700i&subset=latin-ext">
|
||||
@@ -151,6 +151,7 @@
|
||||
<a href="./404.html" class="nav-item ">404 error</a>
|
||||
<a href="./500.html" class="nav-item ">500 error</a>
|
||||
<a href="./503.html" class="nav-item ">503 error</a>
|
||||
<a href="./email.html" class="nav-item ">Email</a>
|
||||
<a href="./empty.html" class="nav-item ">Empty page</a>
|
||||
</div>
|
||||
</li>
|
||||
@@ -2162,14 +2163,19 @@
|
||||
['data2', 0, 0, 1, 2, 7, 5, 6, 8, 24, 7, 12, 5, 6, 3, 2, 2, 0],
|
||||
['data3', 0, 0, 1, 0, 2, 0, 1, 0, 2, 3, 0, 2, 3, 2, 1, 0, 0]
|
||||
],
|
||||
type: 'spline', // default type of chart
|
||||
classes: {
|
||||
data1: 'filled',
|
||||
data2: 'filled',
|
||||
data3: 'filled'
|
||||
},
|
||||
type: 'line', // default type of chart
|
||||
groups: [
|
||||
[ 'data1', 'data2', 'data3']
|
||||
],
|
||||
colors: {
|
||||
'data1': tabler.colors.blue,
|
||||
'data2': tabler.colors.lime,
|
||||
'data3': tabler.colors.orange
|
||||
'data1': tabler.colors["blue"],
|
||||
'data2': tabler.colors["lime"],
|
||||
'data3': tabler.colors["orange"]
|
||||
},
|
||||
names: {
|
||||
// name of each serie
|
||||
@@ -2179,18 +2185,44 @@
|
||||
}
|
||||
},
|
||||
axis: {
|
||||
x: {
|
||||
type: 'category',
|
||||
// name of each category
|
||||
categories: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W']
|
||||
y: {
|
||||
padding: {
|
||||
bottom: 0,
|
||||
},
|
||||
show: false,
|
||||
tick: {
|
||||
outer: false
|
||||
}
|
||||
},
|
||||
x: {
|
||||
padding: {
|
||||
left: 0,
|
||||
right: 0
|
||||
},
|
||||
show: false
|
||||
}
|
||||
},
|
||||
legend: {
|
||||
padding: 16,
|
||||
position: 'inset',
|
||||
padding: 0,
|
||||
inset: {
|
||||
anchor: 'top-left',
|
||||
x: 20,
|
||||
y: 8,
|
||||
step: 10
|
||||
}
|
||||
},
|
||||
tooltip: {
|
||||
format: {
|
||||
title: function (x) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
},
|
||||
padding: {
|
||||
bottom: 16,
|
||||
top: 0
|
||||
bottom: 0,
|
||||
left: -1,
|
||||
right: -1
|
||||
},
|
||||
point: {
|
||||
show: false
|
||||
|
||||
Reference in New Issue
Block a user