mirror of https://github.com/ColorlibHQ/AdminLTE
Add demo functions
parent
910f4e5186
commit
0ba5f1c3ad
|
@ -312,6 +312,7 @@
|
||||||
&:not(.card-outline) {
|
&:not(.card-outline) {
|
||||||
.card-header {
|
.card-header {
|
||||||
background-color: $color;
|
background-color: $color;
|
||||||
|
border-bottom: 0;
|
||||||
&,
|
&,
|
||||||
a {
|
a {
|
||||||
color: color-yiq($color);
|
color: color-yiq($color);
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// General Dropdown Rules
|
// General Dropdown Rules
|
||||||
.dropdown-item {
|
//.dropdown-item {
|
||||||
&:first-of-type {
|
// &:first-of-type {
|
||||||
@include border-top-radius($border-radius);
|
// @include border-top-radius($border-radius);
|
||||||
}
|
// }
|
||||||
&:last-of-type {
|
// &:last-of-type {
|
||||||
@include border-bottom-radius($border-radius);
|
// @include border-bottom-radius($border-radius);
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
||||||
.dropdown-item-title {
|
.dropdown-item-title {
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
|
@ -44,13 +44,6 @@
|
||||||
font-size: $font-size-sm;
|
font-size: $font-size-sm;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-header {
|
|
||||||
&:hover {
|
|
||||||
background-color: $white;
|
|
||||||
color: $gray-200;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Add fade animation to dropdown menus by appending
|
/* Add fade animation to dropdown menus by appending
|
||||||
the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/
|
the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/
|
||||||
.open:not(.dropup) > .animated-dropdown-menu {
|
.open:not(.dropup) > .animated-dropdown-menu {
|
||||||
|
|
|
@ -34,10 +34,7 @@ a.text-muted:hover {
|
||||||
.bg-#{$name} {
|
.bg-#{$name} {
|
||||||
&,
|
&,
|
||||||
a {
|
a {
|
||||||
color: color-yiq($color);
|
color: color-yiq($color) !important;
|
||||||
}
|
|
||||||
a {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -49,15 +46,17 @@ a.text-muted:hover {
|
||||||
|
|
||||||
.bg-gray-light {
|
.bg-gray-light {
|
||||||
background-color: lighten($gray-200, 3%);
|
background-color: lighten($gray-200, 3%);
|
||||||
|
color: color-yiq(lighten($gray-200, 3%)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-black {
|
.bg-black {
|
||||||
background-color: $black;
|
background-color: $black;
|
||||||
color: color-yiq($black);
|
color: color-yiq($black) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-white {
|
.bg-white {
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
|
color: color-yiq($white) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disabled!
|
// Disabled!
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,323 +4,177 @@
|
||||||
* You should not use this file in production.
|
* You should not use this file in production.
|
||||||
* This file is for demo purposes only.
|
* This file is for demo purposes only.
|
||||||
*/
|
*/
|
||||||
(function ($, AdminLTE) {
|
(function ($) {
|
||||||
|
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
/**
|
var $sidebar = $('.control-sidebar')
|
||||||
* List of all the available skins
|
var $container = $('<div />', {
|
||||||
*
|
class: 'p-3'
|
||||||
* @type Array
|
|
||||||
*/
|
|
||||||
var my_skins = [
|
|
||||||
'skin-blue',
|
|
||||||
'skin-black',
|
|
||||||
'skin-red',
|
|
||||||
'skin-yellow',
|
|
||||||
'skin-purple',
|
|
||||||
'skin-green',
|
|
||||||
'skin-blue-light',
|
|
||||||
'skin-black-light',
|
|
||||||
'skin-red-light',
|
|
||||||
'skin-yellow-light',
|
|
||||||
'skin-purple-light',
|
|
||||||
'skin-green-light'
|
|
||||||
]
|
|
||||||
|
|
||||||
// Create the menu
|
|
||||||
var demo_settings = $('<div />', {
|
|
||||||
'class': 'p-3'
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// Layout options
|
$sidebar.append($container)
|
||||||
demo_settings.append(
|
|
||||||
'<h5 class=\'control-sidebar-heading\'>'
|
var navbar_dark_skins = [
|
||||||
+ 'Layout Options'
|
'bg-primary',
|
||||||
+ '</h5>'
|
'bg-info',
|
||||||
// Fixed layout
|
'bg-success',
|
||||||
+ '<div class=\'form-check\'>'
|
'bg-danger'
|
||||||
+ '<label class=\'form-control-label d-block\'>'
|
]
|
||||||
+ '<input type=\'checkbox\' data-layout=\'fixed\' class=\'form-check-input float-xs-right\'/> '
|
|
||||||
+ 'Fixed layout'
|
var navbar_light_skins = [
|
||||||
+ '</label>'
|
'bg-warning',
|
||||||
+ '<small class=\'form-text\'>Activate the fixed layout. You can\'t use fixed and boxed layouts together</small>'
|
'bg-white',
|
||||||
+ '</div>'
|
'bg-gray-light'
|
||||||
// Boxed layout
|
]
|
||||||
+ '<div class=\'form-group\'>'
|
|
||||||
+ '<label class=\'form-control-label d-block\'>'
|
$container.append(
|
||||||
+ '<input type=\'checkbox\' data-layout=\'layout-boxed\'class=\'float-xs-right\'/> '
|
'<h5>Customize AdminLTE</h5><hr class="mb-2"/>'
|
||||||
+ 'Boxed Layout'
|
+ '<h6>Navbar Variants</h6>'
|
||||||
+ '</label>'
|
|
||||||
+ '<small class=\'form-text\'>Activate the boxed layout</small>'
|
|
||||||
+ '</div>'
|
|
||||||
// Sidebar Toggle
|
|
||||||
+ '<div class=\'form-group\'>'
|
|
||||||
+ '<label class=\'form-control-label d-block\'>'
|
|
||||||
+ '<input type=\'checkbox\' data-layout=\'sidebar-collapse\' class=\'float-xs-right\'/> '
|
|
||||||
+ 'Toggle Sidebar'
|
|
||||||
+ '</label>'
|
|
||||||
+ '<small class=\'form-text\'>Toggle the left sidebar\'s state (open or collapse)</small>'
|
|
||||||
+ '</div>'
|
|
||||||
// Sidebar mini expand on hover toggle
|
|
||||||
+ '<div class=\'form-group\'>'
|
|
||||||
+ '<label class=\'form-control-label d-block\'>'
|
|
||||||
+ '<input type=\'checkbox\' data-enable=\'expandOnHover\' class=\'float-xs-right\'/> '
|
|
||||||
+ 'Sidebar Expand on Hover'
|
|
||||||
+ '</label>'
|
|
||||||
+ '<small class=\'form-text\'>Let the sidebar mini expand on hover</small>'
|
|
||||||
+ '</div>'
|
|
||||||
// Control Sidebar Toggle
|
|
||||||
+ '<div class=\'form-group\'>'
|
|
||||||
+ '<label class=\'form-control-label d-block\'>'
|
|
||||||
+ '<input type=\'checkbox\' data-controlsidebar=\'control-sidebar-open\' class=\'float-xs-right\'/> '
|
|
||||||
+ 'Toggle Right Sidebar Slide'
|
|
||||||
+ '</label>'
|
|
||||||
+ '<small class=\'form-text\'>Toggle between slide over content and push content effects</small>'
|
|
||||||
+ '</div>'
|
|
||||||
// Control Sidebar Skin Toggle
|
|
||||||
+ '<div class=\'form-group\'>'
|
|
||||||
+ '<label class=\'form-control-label d-block\'>'
|
|
||||||
+ '<input type=\'checkbox\' data-sidebarskin=\'toggle\' class=\'float-xs-right\'/> '
|
|
||||||
+ 'Toggle Right Sidebar Skin'
|
|
||||||
+ '</label>'
|
|
||||||
+ '<small class=\'form-text\'>Toggle between dark and light skins for the right sidebar</small>'
|
|
||||||
+ '</div>'
|
|
||||||
)
|
)
|
||||||
var skins_list = $('<ul />', { 'class': 'list-unstyled clearfix' })
|
|
||||||
|
|
||||||
// Dark sidebar skins
|
var $navbar_variants = $('<div />', {
|
||||||
var skin_blue =
|
'class': 'd-flex'
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
})
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-blue\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
var navbar_all_colors = navbar_dark_skins.concat(navbar_light_skins)
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px; background: #367fa9;\'></span><span class=\'bg-primary\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
var $navbar_variants_colors = createSkinBlock(navbar_all_colors, function (e) {
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #222d32;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
var color = $(this).data('color')
|
||||||
+ '</a>'
|
console.log('Adding ' + color)
|
||||||
+ '<p class=\'text-xs-center no-margin\'>Blue</p>')
|
var $main_header = $('.main-header')
|
||||||
skins_list.append(skin_blue)
|
$main_header.removeClass('navbar-dark').removeClass('navbar-light')
|
||||||
var skin_black =
|
navbar_all_colors.map(function (color) {
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
$main_header.removeClass(color)
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-black\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div style=\'box-shadow: 0 0 2px rgba(0,0,0,0.1)\' class=\'clearfix\'><span style=\'display:block; width: 20%; float: left; height: 7px; background: #fefefe;\'></span><span style=\'display:block; width: 80%; float: left; height: 7px; background: #fefefe;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #222;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\'>Black</p>')
|
|
||||||
skins_list.append(skin_black)
|
|
||||||
var skin_purple =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-purple\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-purple-active\'></span><span class=\'bg-purple\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #222d32;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\'>Purple</p>')
|
|
||||||
skins_list.append(skin_purple)
|
|
||||||
var skin_green =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-green\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-success-active\'></span><span class=\'bg-success\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #222d32;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\'>Green</p>')
|
|
||||||
skins_list.append(skin_green)
|
|
||||||
var skin_red =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-red\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-danger-active\'></span><span class=\'bg-danger\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #222d32;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\'>Red</p>')
|
|
||||||
skins_list.append(skin_red)
|
|
||||||
var skin_yellow =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-yellow\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-warning-active\'></span><span class=\'bg-warning\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #222d32;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\'>Yellow</p>')
|
|
||||||
skins_list.append(skin_yellow)
|
|
||||||
|
|
||||||
// Light sidebar skins
|
|
||||||
var skin_blue_light =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-blue-light\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px; background: #367fa9;\'></span><span class=\'bg-primary\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #f9fafc;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\' style=\'font-size: 12px\'>Blue Light</p>')
|
|
||||||
skins_list.append(skin_blue_light)
|
|
||||||
var skin_black_light =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-black-light\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div style=\'box-shadow: 0 0 2px rgba(0,0,0,0.1)\' class=\'clearfix\'><span style=\'display:block; width: 20%; float: left; height: 7px; background: #fefefe;\'></span><span style=\'display:block; width: 80%; float: left; height: 7px; background: #fefefe;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #f9fafc;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\' style=\'font-size: 12px\'>Black Light</p>')
|
|
||||||
skins_list.append(skin_black_light)
|
|
||||||
var skin_purple_light =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-purple-light\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-purple-active\'></span><span class=\'bg-purple\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #f9fafc;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\' style=\'font-size: 12px\'>Purple Light</p>')
|
|
||||||
skins_list.append(skin_purple_light)
|
|
||||||
var skin_green_light =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-green-light\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-success-active\'></span><span class=\'bg-success\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #f9fafc;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\' style=\'font-size: 12px\'>Green Light</p>')
|
|
||||||
skins_list.append(skin_green_light)
|
|
||||||
var skin_red_light =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-red-light\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-danger-active\'></span><span class=\'bg-danger\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #f9fafc;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\' style=\'font-size: 12px\'>Red Light</p>')
|
|
||||||
skins_list.append(skin_red_light)
|
|
||||||
var skin_yellow_light =
|
|
||||||
$('<li />', { style: 'float:left; width: 33.33333%; padding: 5px;' })
|
|
||||||
.append('<a href=\'javascript:void(0);\' data-skin=\'skin-yellow-light\' style=\'display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4)\' class=\'clearfix full-opacity-hover\'>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 7px;\' class=\'bg-warning-active\'></span><span class=\'bg-warning\' style=\'display:block; width: 80%; float: left; height: 7px;\'></span></div>'
|
|
||||||
+ '<div><span style=\'display:block; width: 20%; float: left; height: 20px; background: #f9fafc;\'></span><span style=\'display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;\'></span></div>'
|
|
||||||
+ '</a>'
|
|
||||||
+ '<p class=\'text-xs-center no-margin\' style=\'font-size: 12px;\'>Yellow Light</p>')
|
|
||||||
skins_list.append(skin_yellow_light)
|
|
||||||
|
|
||||||
demo_settings.append('<h5 class=\'control-sidebar-heading\'>Skins</h5>')
|
|
||||||
demo_settings.append(skins_list)
|
|
||||||
|
|
||||||
$('.control-sidebar').append(demo_settings)
|
|
||||||
|
|
||||||
setup()
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Toggles layout classes
|
|
||||||
*
|
|
||||||
* @param String cls the layout class to toggle
|
|
||||||
* @returns void
|
|
||||||
*/
|
|
||||||
function change_layout(cls) {
|
|
||||||
$('body').toggleClass(cls)
|
|
||||||
AdminLTE.layout.fixSidebar()
|
|
||||||
// Fix the problem with right sidebar and layout boxed
|
|
||||||
if (cls == 'layout-boxed') {
|
|
||||||
AdminLTE.controlSidebar._fix($('.control-sidebar-bg'))
|
|
||||||
}
|
|
||||||
if ($('body').hasClass('fixed') && cls == 'fixed') {
|
|
||||||
AdminLTE.pushMenu.expandOnHover()
|
|
||||||
AdminLTE.layout.activate()
|
|
||||||
}
|
|
||||||
AdminLTE.controlSidebar._fix($('.control-sidebar-bg'))
|
|
||||||
AdminLTE.controlSidebar._fix($('.control-sidebar'))
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Replaces the old skin with the new skin
|
|
||||||
* @param String cls the new skin class
|
|
||||||
* @returns Boolean false to prevent link's default action
|
|
||||||
*/
|
|
||||||
function change_skin(cls) {
|
|
||||||
$.each(my_skins, function (i) {
|
|
||||||
$('body').removeClass(my_skins[i])
|
|
||||||
})
|
})
|
||||||
|
|
||||||
$('body').addClass(cls)
|
if (navbar_dark_skins.indexOf(color) > -1) {
|
||||||
store('skin', cls)
|
$main_header.addClass('navbar-dark')
|
||||||
return false
|
console.log('AND navbar-dark')
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Store a new settings in the browser
|
|
||||||
*
|
|
||||||
* @param String name Name of the setting
|
|
||||||
* @param String val Value of the setting
|
|
||||||
* @returns void
|
|
||||||
*/
|
|
||||||
function store(name, val) {
|
|
||||||
if (typeof (Storage) !== 'undefined') {
|
|
||||||
localStorage.setItem(name, val)
|
|
||||||
} else {
|
} else {
|
||||||
window.alert('Please use a modern browser to properly view this template!')
|
console.log('AND navbar-light')
|
||||||
}
|
$main_header.addClass('navbar-light')
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get a prestored setting
|
|
||||||
*
|
|
||||||
* @param String name Name of of the setting
|
|
||||||
* @returns String The value of the setting | null
|
|
||||||
*/
|
|
||||||
function get(name) {
|
|
||||||
if (typeof (Storage) !== 'undefined') {
|
|
||||||
return localStorage.getItem(name)
|
|
||||||
} else {
|
|
||||||
window.alert('Please use a modern browser to properly view this template!')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieve default settings and apply them to the template
|
|
||||||
*
|
|
||||||
* @returns void
|
|
||||||
*/
|
|
||||||
function setup() {
|
|
||||||
var tmp = get('skin')
|
|
||||||
if (tmp && $.inArray(tmp, my_skins)) {
|
|
||||||
change_skin(tmp)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the change skin listener
|
$main_header.addClass(color)
|
||||||
$('[data-skin]').on('click', function (e) {
|
})
|
||||||
e.preventDefault()
|
|
||||||
change_skin($(this).data('skin'))
|
$navbar_variants.append($navbar_variants_colors)
|
||||||
|
|
||||||
|
$container.append($navbar_variants)
|
||||||
|
|
||||||
|
|
||||||
|
var sidebar_colors = [
|
||||||
|
'bg-primary',
|
||||||
|
'bg-warning',
|
||||||
|
'bg-info',
|
||||||
|
'bg-danger',
|
||||||
|
'bg-success'
|
||||||
|
]
|
||||||
|
|
||||||
|
var sidebar_skins = [
|
||||||
|
'sidebar-dark-primary',
|
||||||
|
'sidebar-dark-warning',
|
||||||
|
'sidebar-dark-info',
|
||||||
|
'sidebar-dark-danger',
|
||||||
|
'sidebar-dark-success',
|
||||||
|
'sidebar-light-primary',
|
||||||
|
'sidebar-light-warning',
|
||||||
|
'sidebar-light-info',
|
||||||
|
'sidebar-light-danger',
|
||||||
|
'sidebar-light-success'
|
||||||
|
]
|
||||||
|
|
||||||
|
$container.append('<h6>Dark Sidebar Variants</h6>')
|
||||||
|
var $sidebar_variants = $('<div />', {
|
||||||
|
'class': 'd-flex'
|
||||||
|
})
|
||||||
|
$container.append($sidebar_variants)
|
||||||
|
$container.append(createSkinBlock(sidebar_colors, function () {
|
||||||
|
var color = $(this).data('color')
|
||||||
|
var sidebar_class = 'sidebar-dark-' + color.replace('bg-', '')
|
||||||
|
var $sidebar = $('.main-sidebar')
|
||||||
|
sidebar_skins.map(function (skin) {
|
||||||
|
$sidebar.removeClass(skin)
|
||||||
})
|
})
|
||||||
|
|
||||||
// Add the layout manager
|
$sidebar.addClass(sidebar_class)
|
||||||
$('[data-layout]').on('click', function () {
|
console.log('added ' + sidebar_class)
|
||||||
change_layout($(this).data('layout'))
|
}))
|
||||||
|
|
||||||
|
$container.append('<h6>Light Sidebar Variants</h6>')
|
||||||
|
var $sidebar_variants = $('<div />', {
|
||||||
|
'class': 'd-flex'
|
||||||
|
})
|
||||||
|
$container.append($sidebar_variants)
|
||||||
|
$container.append(createSkinBlock(sidebar_colors, function () {
|
||||||
|
var color = $(this).data('color')
|
||||||
|
var sidebar_class = 'sidebar-light-' + color.replace('bg-', '')
|
||||||
|
var $sidebar = $('.main-sidebar')
|
||||||
|
sidebar_skins.map(function (skin) {
|
||||||
|
$sidebar.removeClass(skin)
|
||||||
})
|
})
|
||||||
|
|
||||||
$('[data-controlsidebar]').on('click', function () {
|
$sidebar.addClass(sidebar_class)
|
||||||
change_layout($(this).data('controlsidebar'))
|
console.log('added ' + sidebar_class)
|
||||||
var slide = !AdminLTE.options.controlSidebarOptions.slide
|
}))
|
||||||
AdminLTE.options.controlSidebarOptions.slide = slide
|
|
||||||
if (!slide) {
|
|
||||||
$('.control-sidebar').removeClass('control-sidebar-open')
|
var logo_skins = navbar_all_colors
|
||||||
|
$container.append('<h6>Brand Logo Variants</h6>')
|
||||||
|
var $logo_variants = $('<div />', {
|
||||||
|
'class': 'd-flex'
|
||||||
|
})
|
||||||
|
$container.append($logo_variants)
|
||||||
|
var $clear_btn = $('<a />', {
|
||||||
|
href: 'javascript:void(0)'
|
||||||
|
}).text('clear').on('click', function() {
|
||||||
|
var $logo = $('.brand-link')
|
||||||
|
logo_skins.map(function (skin) {
|
||||||
|
$logo.removeClass(skin)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
$container.append(createSkinBlock(logo_skins, function () {
|
||||||
|
var color = $(this).data('color')
|
||||||
|
var $logo = $('.brand-link')
|
||||||
|
logo_skins.map(function (skin) {
|
||||||
|
$logo.removeClass(skin)
|
||||||
|
})
|
||||||
|
$logo.addClass(color)
|
||||||
|
}).append($clear_btn))
|
||||||
|
|
||||||
|
function createSkinBlock(colors, callback) {
|
||||||
|
var $block = $('<div />', {
|
||||||
|
'class': 'd-flex flex-wrap mb-3'
|
||||||
|
})
|
||||||
|
|
||||||
|
colors.map(function (color) {
|
||||||
|
var $color = $('<div />', {
|
||||||
|
'class': (typeof color === 'object' ? color.join(' ') : color) + ' elevation-2'
|
||||||
|
})
|
||||||
|
|
||||||
|
$block.append($color)
|
||||||
|
|
||||||
|
$color.data('color', color)
|
||||||
|
|
||||||
|
$color.css({
|
||||||
|
width : '40px',
|
||||||
|
height : '20px',
|
||||||
|
borderRadius: '25px',
|
||||||
|
marginRight : 10,
|
||||||
|
marginBottom: 10,
|
||||||
|
opacity : 0.8,
|
||||||
|
cursor : 'pointer'
|
||||||
|
})
|
||||||
|
|
||||||
|
$color.hover(function () {
|
||||||
|
$(this).css({ opacity: 1 }).removeClass('elevation-2').addClass('elevation-4')
|
||||||
|
}, function () {
|
||||||
|
$(this).css({ opacity: 0.8 }).removeClass('elevation-4').addClass('elevation-2')
|
||||||
|
})
|
||||||
|
|
||||||
|
if (callback) {
|
||||||
|
$color.on('click', callback)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
$('[data-sidebarskin=\'toggle\']').on('click', function () {
|
return $block
|
||||||
var sidebar = $('.control-sidebar')
|
|
||||||
if (sidebar.hasClass('control-sidebar-dark')) {
|
|
||||||
sidebar.removeClass('control-sidebar-dark')
|
|
||||||
sidebar.addClass('control-sidebar-light')
|
|
||||||
} else {
|
|
||||||
sidebar.removeClass('control-sidebar-light')
|
|
||||||
sidebar.addClass('control-sidebar-dark')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
$('[data-enable=\'expandOnHover\']').on('click', function () {
|
|
||||||
$(this).attr('disabled', true)
|
|
||||||
AdminLTE.pushMenu.expandOnHover()
|
|
||||||
if (!$('body').hasClass('sidebar-collapse')) {
|
|
||||||
$('[data-layout=\'sidebar-collapse\']').click()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
// Reset options
|
|
||||||
if ($('body').hasClass('fixed')) {
|
|
||||||
$('[data-layout=\'fixed\']').attr('checked', 'checked')
|
|
||||||
}
|
|
||||||
if ($('body').hasClass('layout-boxed')) {
|
|
||||||
$('[data-layout=\'layout-boxed\']').attr('checked', 'checked')
|
|
||||||
}
|
|
||||||
if ($('body').hasClass('sidebar-collapse')) {
|
|
||||||
$('[data-layout=\'sidebar-collapse\']').attr('checked', 'checked');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
})(jQuery, $.AdminLTE);
|
})(jQuery)
|
||||||
|
|
|
@ -127,17 +127,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -113,17 +113,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -125,17 +125,17 @@ to get the desired effect
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -160,7 +160,7 @@ to get the desired effect
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
|
@ -42,13 +42,13 @@
|
||||||
"url": "https://github.com/almasaeed2010/AdminLTE/issues"
|
"url": "https://github.com/almasaeed2010/AdminLTE/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ckeditor/ckeditor5-build-classic": "^1.0.0-beta.1",
|
"@ckeditor/ckeditor5-build-classic": "^1.0.0-beta.4",
|
||||||
"bootstrap": "^4.0.0",
|
"bootstrap": "^4.1.0",
|
||||||
"chart.js": "^2.7.1",
|
"chart.js": "^2.7.2",
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"jquery": "^3.3.1",
|
"jquery": "^3.3.1",
|
||||||
"jquery-ui": "^1.12.1",
|
"jquery-ui": "^1.12.1",
|
||||||
"popper.js": "^1.13.0"
|
"popper.js": "^1.14.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"font-awesome": "^4.7.0"
|
"font-awesome": "^4.7.0"
|
||||||
|
@ -56,23 +56,23 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.26.0",
|
"babel-cli": "^6.26.0",
|
||||||
"babel-core": "^6.26.0",
|
"babel-core": "^6.26.0",
|
||||||
"babel-eslint": "^8.2.2",
|
"babel-eslint": "^8.2.3",
|
||||||
"babel-plugin-external-helpers": "^6.22.0",
|
"babel-plugin-external-helpers": "^6.22.0",
|
||||||
"babel-preset-env": "^1.6.1",
|
"babel-preset-env": "^1.6.1",
|
||||||
"browser-sync": "^2.23.6",
|
"browser-sync": "^2.23.7",
|
||||||
"clean-css-cli": "^4.1.10",
|
"clean-css-cli": "^4.1.11",
|
||||||
"copy-dir": "^0.3.0",
|
"copy-dir": "^0.3.0",
|
||||||
"css-loader": "^0.28.9",
|
"css-loader": "^0.28.11",
|
||||||
"eslint": "^4.18.1",
|
"eslint": "^4.19.1",
|
||||||
"eslint-plugin-compat": "^2.2.0",
|
"eslint-plugin-compat": "^2.2.0",
|
||||||
"extract-text-webpack-plugin": "^3.0.2",
|
"extract-text-webpack-plugin": "^3.0.2",
|
||||||
"node-sass": "^4.7.2",
|
"node-sass": "^4.8.3",
|
||||||
"nodemon": "^1.15.1",
|
"nodemon": "^1.17.3",
|
||||||
"npm-run-all": "^4.1.2",
|
"npm-run-all": "^4.1.2",
|
||||||
"path": "^0.12.7",
|
"path": "^0.12.7",
|
||||||
"rollup": "^0.55.5",
|
"rollup": "^0.55.5",
|
||||||
"rollup-plugin-babel": "^3.0.3",
|
"rollup-plugin-babel": "^3.0.3",
|
||||||
"style-loader": "^0.19.1",
|
"style-loader": "^0.19.1",
|
||||||
"uglify-js": "^3.3.11"
|
"uglify-js": "^3.3.22"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,17 +114,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -148,17 +148,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -186,7 +186,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -114,17 +114,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -121,17 +121,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -159,7 +159,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -117,17 +117,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -114,17 +114,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -115,17 +115,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -116,17 +116,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -115,17 +115,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -115,17 +115,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -116,17 +116,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -114,17 +114,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -115,17 +115,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -125,17 +125,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -117,17 +117,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -115,17 +115,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -119,17 +119,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -116,17 +116,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -117,17 +117,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -117,17 +117,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -115,17 +115,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user (optional) -->
|
<!-- Sidebar user (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -114,17 +114,17 @@
|
||||||
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-envelope icon-wide"></i> 4 new messages
|
<i class="fa fa-envelope mr-2"></i> 4 new messages
|
||||||
<span class="float-right text-muted text-sm">3 mins</span>
|
<span class="float-right text-muted text-sm">3 mins</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-users icon-wide"></i> 8 friend requests
|
<i class="fa fa-users mr-2"></i> 8 friend requests
|
||||||
<span class="float-right text-muted text-sm">12 hours</span>
|
<span class="float-right text-muted text-sm">12 hours</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<a href="#" class="dropdown-item">
|
<a href="#" class="dropdown-item">
|
||||||
<i class="fa fa-file icon-wide"></i> 3 new reports
|
<i class="fa fa-file mr-2"></i> 3 new reports
|
||||||
<span class="float-right text-muted text-sm">2 days</span>
|
<span class="float-right text-muted text-sm">2 days</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<div class="sidebar font-weight-light">
|
<div class="sidebar">
|
||||||
<!-- Sidebar user panel (optional) -->
|
<!-- Sidebar user panel (optional) -->
|
||||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
|
* Bootstrap Reboot v4.1.0 (https://getbootstrap.com/)
|
||||||
* Copyright 2011-2018 The Bootstrap Authors
|
* Copyright 2011-2018 The Bootstrap Authors
|
||||||
* Copyright 2011-2018 Twitter, Inc.
|
* Copyright 2011-2018 Twitter, Inc.
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
@ -202,7 +202,7 @@ th {
|
||||||
|
|
||||||
label {
|
label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
|
* Bootstrap Reboot v4.1.0 (https://getbootstrap.com/)
|
||||||
* Copyright 2011-2018 The Bootstrap Authors
|
* Copyright 2011-2018 The Bootstrap Authors
|
||||||
* Copyright 2011-2018 Twitter, Inc.
|
* Copyright 2011-2018 Twitter, Inc.
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Category · GitBook</title>
|
<title>Category · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../../general/interactions/">
|
||||||
|
|
||||||
<a href="../../general/interactions/">
|
<a href="../../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/events.html">
|
<a href="../../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/modes.html">
|
<a href="../../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../../general/options.html">
|
||||||
|
|
||||||
<a href="../../general/options.html">
|
<a href="../../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../../general/colors.html">
|
||||||
|
|
||||||
<a href="../../general/colors.html">
|
<a href="../../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../../general/fonts.html">
|
||||||
|
|
||||||
<a href="../../general/fonts.html">
|
<a href="../../general/fonts.html">
|
||||||
|
|
||||||
|
@ -988,7 +1001,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Category","level":"1.6.1.1","depth":3,"next":{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},"previous":{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/cartesian/category.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Category","level":"1.6.1.1","depth":3,"next":{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},"previous":{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/cartesian/category.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1006,7 +1019,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Cartesian · GitBook</title>
|
<title>Cartesian · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../../general/interactions/">
|
||||||
|
|
||||||
<a href="../../general/interactions/">
|
<a href="../../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/events.html">
|
<a href="../../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/modes.html">
|
<a href="../../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../../general/options.html">
|
||||||
|
|
||||||
<a href="../../general/options.html">
|
<a href="../../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../../general/colors.html">
|
||||||
|
|
||||||
<a href="../../general/colors.html">
|
<a href="../../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../../general/fonts.html">
|
||||||
|
|
||||||
<a href="../../general/fonts.html">
|
<a href="../../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1019,13 +1032,13 @@
|
||||||
data: {
|
data: {
|
||||||
datasets: [{
|
datasets: [{
|
||||||
data: [<span class="hljs-number">20</span>, <span class="hljs-number">50</span>, <span class="hljs-number">100</span>, <span class="hljs-number">75</span>, <span class="hljs-number">25</span>, <span class="hljs-number">0</span>],
|
data: [<span class="hljs-number">20</span>, <span class="hljs-number">50</span>, <span class="hljs-number">100</span>, <span class="hljs-number">75</span>, <span class="hljs-number">25</span>, <span class="hljs-number">0</span>],
|
||||||
label: <span class="hljs-string">'Left dataset'</span>
|
label: <span class="hljs-string">'Left dataset'</span>,
|
||||||
|
|
||||||
<span class="hljs-comment">// This binds the dataset to the left y axis</span>
|
<span class="hljs-comment">// This binds the dataset to the left y axis</span>
|
||||||
yAxisID: <span class="hljs-string">'left-y-axis'</span>
|
yAxisID: <span class="hljs-string">'left-y-axis'</span>
|
||||||
}, {
|
}, {
|
||||||
data: [<span class="hljs-number">0.1</span>, <span class="hljs-number">0.5</span>, <span class="hljs-number">1.0</span>, <span class="hljs-number">2.0</span>, <span class="hljs-number">1.5</span>, <span class="hljs-number">0</span>]
|
data: [<span class="hljs-number">0.1</span>, <span class="hljs-number">0.5</span>, <span class="hljs-number">1.0</span>, <span class="hljs-number">2.0</span>, <span class="hljs-number">1.5</span>, <span class="hljs-number">0</span>],
|
||||||
label: <span class="hljs-string">'Right dataset'</span>
|
label: <span class="hljs-string">'Right dataset'</span>,
|
||||||
|
|
||||||
<span class="hljs-comment">// This binds the dataset to the right y axis</span>
|
<span class="hljs-comment">// This binds the dataset to the right y axis</span>
|
||||||
yAxisID: <span class="hljs-string">'right-y-axis'</span>,
|
yAxisID: <span class="hljs-string">'right-y-axis'</span>,
|
||||||
|
@ -1090,7 +1103,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Cartesian","level":"1.6.1","depth":2,"next":{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},"previous":{"title":"Axes","level":"1.6","depth":1,"path":"axes/README.md","ref":"axes/README.md","articles":[{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/cartesian/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Cartesian","level":"1.6.1","depth":2,"next":{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},"previous":{"title":"Axes","level":"1.6","depth":1,"path":"axes/README.md","ref":"axes/README.md","articles":[{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/cartesian/README.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1108,7 +1121,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Linear · GitBook</title>
|
<title>Linear · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../../general/interactions/">
|
||||||
|
|
||||||
<a href="../../general/interactions/">
|
<a href="../../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/events.html">
|
<a href="../../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/modes.html">
|
<a href="../../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../../general/options.html">
|
||||||
|
|
||||||
<a href="../../general/options.html">
|
<a href="../../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../../general/colors.html">
|
||||||
|
|
||||||
<a href="../../general/colors.html">
|
<a href="../../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../../general/fonts.html">
|
||||||
|
|
||||||
<a href="../../general/fonts.html">
|
<a href="../../general/fonts.html">
|
||||||
|
|
||||||
|
@ -925,7 +938,7 @@
|
||||||
</table>
|
</table>
|
||||||
<h2 id="axis-range-settings">Axis Range Settings</h2>
|
<h2 id="axis-range-settings">Axis Range Settings</h2>
|
||||||
<p>Given the number of axis range settings, it is important to understand how they all interact with each other.</p>
|
<p>Given the number of axis range settings, it is important to understand how they all interact with each other.</p>
|
||||||
<p>The <code>suggestedMax</code> and <code>suggestedMin</code> settings only change the data values that are used to scale the axis. These are useful for extending the range of the axis while maintaing the auto fit behaviour.</p>
|
<p>The <code>suggestedMax</code> and <code>suggestedMin</code> settings only change the data values that are used to scale the axis. These are useful for extending the range of the axis while maintaining the auto fit behaviour.</p>
|
||||||
<pre><code class="lang-javascript"><span class="hljs-keyword">let</span> minDataValue = <span class="hljs-built_in">Math</span>.min(mostNegativeValue, options.ticks.suggestedMin);
|
<pre><code class="lang-javascript"><span class="hljs-keyword">let</span> minDataValue = <span class="hljs-built_in">Math</span>.min(mostNegativeValue, options.ticks.suggestedMin);
|
||||||
<span class="hljs-keyword">let</span> maxDataValue = <span class="hljs-built_in">Math</span>.max(mostPositiveValue, options.ticks.suggestedMax);
|
<span class="hljs-keyword">let</span> maxDataValue = <span class="hljs-built_in">Math</span>.max(mostPositiveValue, options.ticks.suggestedMax);
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
@ -943,7 +956,7 @@
|
||||||
scales: {
|
scales: {
|
||||||
yAxes: [{
|
yAxes: [{
|
||||||
ticks: {
|
ticks: {
|
||||||
suggestedMin: <span class="hljs-number">50</span>
|
suggestedMin: <span class="hljs-number">50</span>,
|
||||||
suggestedMax: <span class="hljs-number">100</span>
|
suggestedMax: <span class="hljs-number">100</span>
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
@ -1010,7 +1023,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Linear","level":"1.6.1.2","depth":3,"next":{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},"previous":{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/cartesian/linear.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Linear","level":"1.6.1.2","depth":3,"next":{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},"previous":{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/cartesian/linear.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1028,7 +1041,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Logarithmic · GitBook</title>
|
<title>Logarithmic · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../../general/interactions/">
|
||||||
|
|
||||||
<a href="../../general/interactions/">
|
<a href="../../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/events.html">
|
<a href="../../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/modes.html">
|
<a href="../../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../../general/options.html">
|
||||||
|
|
||||||
<a href="../../general/options.html">
|
<a href="../../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../../general/colors.html">
|
||||||
|
|
||||||
<a href="../../general/colors.html">
|
<a href="../../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../../general/fonts.html">
|
||||||
|
|
||||||
<a href="../../general/fonts.html">
|
<a href="../../general/fonts.html">
|
||||||
|
|
||||||
|
@ -936,7 +949,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Logarithmic","level":"1.6.1.3","depth":3,"next":{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]},"previous":{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/cartesian/logarithmic.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Logarithmic","level":"1.6.1.3","depth":3,"next":{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]},"previous":{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/cartesian/logarithmic.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -954,7 +967,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Time · GitBook</title>
|
<title>Time · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../../general/interactions/">
|
||||||
|
|
||||||
<a href="../../general/interactions/">
|
<a href="../../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/events.html">
|
<a href="../../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/modes.html">
|
<a href="../../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../../general/options.html">
|
||||||
|
|
||||||
<a href="../../general/options.html">
|
<a href="../../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../../general/colors.html">
|
||||||
|
|
||||||
<a href="../../general/colors.html">
|
<a href="../../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../../general/fonts.html">
|
||||||
|
|
||||||
<a href="../../general/fonts.html">
|
<a href="../../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1108,7 +1121,7 @@
|
||||||
<li><code>'labels'</code>: generates ticks from user given <code>data.labels</code> values ONLY</li>
|
<li><code>'labels'</code>: generates ticks from user given <code>data.labels</code> values ONLY</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3 id="parser">Parser</h3>
|
<h3 id="parser">Parser</h3>
|
||||||
<p>If this property is defined as a string, it is interpreted as a custom format to be used by moment to parse the date. </p>
|
<p>If this property is defined as a string, it is interpreted as a custom format to be used by moment to parse the date.</p>
|
||||||
<p>If this is a function, it must return a moment.js object given the appropriate data value.</p>
|
<p>If this is a function, it must return a moment.js object given the appropriate data value.</p>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1153,7 +1166,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Time","level":"1.6.1.4","depth":3,"next":{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},"previous":{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/cartesian/time.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Time","level":"1.6.1.4","depth":3,"next":{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},"previous":{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/cartesian/time.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1171,7 +1184,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Axes · GitBook</title>
|
<title>Axes · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -926,7 +939,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>beforeSetDimensions</code></td>
|
<td><code>beforeSetDimensions</code></td>
|
||||||
<td><code>axis</code></td>
|
<td><code>axis</code></td>
|
||||||
<td>Callback that runs before dimensions are set. </td>
|
<td>Callback that runs before dimensions are set.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>afterSetDimensions</code></td>
|
<td><code>afterSetDimensions</code></td>
|
||||||
|
@ -961,7 +974,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>afterTickToLabelConversion</code></td>
|
<td><code>afterTickToLabelConversion</code></td>
|
||||||
<td><code>axis</code></td>
|
<td><code>axis</code></td>
|
||||||
<td>Callback that runs after ticks are converted into strings. </td>
|
<td>Callback that runs after ticks are converted into strings.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>beforeCalculateTickRotation</code></td>
|
<td><code>beforeCalculateTickRotation</code></td>
|
||||||
|
@ -976,12 +989,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>beforeFit</code></td>
|
<td><code>beforeFit</code></td>
|
||||||
<td><code>axis</code></td>
|
<td><code>axis</code></td>
|
||||||
<td>Callback that runs before the scale fits to the canvas. </td>
|
<td>Callback that runs before the scale fits to the canvas.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>afterFit</code></td>
|
<td><code>afterFit</code></td>
|
||||||
<td><code>axis</code></td>
|
<td><code>axis</code></td>
|
||||||
<td>Callback that runs after the scale fits to the canvas. </td>
|
<td>Callback that runs after the scale fits to the canvas.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>afterUpdate</code></td>
|
<td><code>afterUpdate</code></td>
|
||||||
|
@ -1044,7 +1057,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Axes","level":"1.6","depth":1,"next":{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},"previous":{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Axes","level":"1.6","depth":1,"next":{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},"previous":{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/README.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1062,7 +1075,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Labelling · GitBook</title>
|
<title>Labelling · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -993,7 +1006,7 @@ In the following example, every label of the Y axis would be displayed with a do
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Labelling","level":"1.6.3","depth":2,"next":{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]},"previous":{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/labelling.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Labelling","level":"1.6.3","depth":2,"next":{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]},"previous":{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/labelling.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1011,7 +1024,7 @@ In the following example, every label of the Y axis would be displayed with a do
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Radial · GitBook</title>
|
<title>Radial · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../../general/interactions/">
|
||||||
|
|
||||||
<a href="../../general/interactions/">
|
<a href="../../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/events.html">
|
<a href="../../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/modes.html">
|
<a href="../../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../../general/options.html">
|
||||||
|
|
||||||
<a href="../../general/options.html">
|
<a href="../../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../../general/colors.html">
|
||||||
|
|
||||||
<a href="../../general/colors.html">
|
<a href="../../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../../general/fonts.html">
|
||||||
|
|
||||||
<a href="../../general/fonts.html">
|
<a href="../../general/fonts.html">
|
||||||
|
|
||||||
|
@ -913,7 +926,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Radial","level":"1.6.2","depth":2,"next":{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]},"previous":{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/radial/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Radial","level":"1.6.2","depth":2,"next":{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]},"previous":{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/radial/README.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -931,7 +944,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Linear · GitBook</title>
|
<title>Linear · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../../general/interactions/">
|
||||||
|
|
||||||
<a href="../../general/interactions/">
|
<a href="../../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/events.html">
|
<a href="../../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../../general/interactions/modes.html">
|
<a href="../../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../../general/options.html">
|
||||||
|
|
||||||
<a href="../../general/options.html">
|
<a href="../../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../../general/colors.html">
|
||||||
|
|
||||||
<a href="../../general/colors.html">
|
<a href="../../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../../general/fonts.html">
|
||||||
|
|
||||||
<a href="../../general/fonts.html">
|
<a href="../../general/fonts.html">
|
||||||
|
|
||||||
|
@ -983,7 +996,7 @@
|
||||||
</table>
|
</table>
|
||||||
<h2 id="axis-range-settings">Axis Range Settings</h2>
|
<h2 id="axis-range-settings">Axis Range Settings</h2>
|
||||||
<p>Given the number of axis range settings, it is important to understand how they all interact with each other.</p>
|
<p>Given the number of axis range settings, it is important to understand how they all interact with each other.</p>
|
||||||
<p>The <code>suggestedMax</code> and <code>suggestedMin</code> settings only change the data values that are used to scale the axis. These are useful for extending the range of the axis while maintaing the auto fit behaviour.</p>
|
<p>The <code>suggestedMax</code> and <code>suggestedMin</code> settings only change the data values that are used to scale the axis. These are useful for extending the range of the axis while maintaining the auto fit behaviour.</p>
|
||||||
<pre><code class="lang-javascript"><span class="hljs-keyword">let</span> minDataValue = <span class="hljs-built_in">Math</span>.min(mostNegativeValue, options.ticks.suggestedMin);
|
<pre><code class="lang-javascript"><span class="hljs-keyword">let</span> minDataValue = <span class="hljs-built_in">Math</span>.min(mostNegativeValue, options.ticks.suggestedMin);
|
||||||
<span class="hljs-keyword">let</span> maxDataValue = <span class="hljs-built_in">Math</span>.max(mostPositiveValue, options.ticks.suggestedMax);
|
<span class="hljs-keyword">let</span> maxDataValue = <span class="hljs-built_in">Math</span>.max(mostPositiveValue, options.ticks.suggestedMax);
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
@ -1000,7 +1013,7 @@
|
||||||
options: {
|
options: {
|
||||||
scale: {
|
scale: {
|
||||||
ticks: {
|
ticks: {
|
||||||
suggestedMin: <span class="hljs-number">50</span>
|
suggestedMin: <span class="hljs-number">50</span>,
|
||||||
suggestedMax: <span class="hljs-number">100</span>
|
suggestedMax: <span class="hljs-number">100</span>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1075,7 +1088,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>fontColor</code></td>
|
<td><code>fontColor</code></td>
|
||||||
<td><code>Color</code></td>
|
<td><code>Color/Color[]</code></td>
|
||||||
<td><code>'#666'</code></td>
|
<td><code>'#666'</code></td>
|
||||||
<td>Font color for point labels.</td>
|
<td>Font color for point labels.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1142,7 +1155,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Linear","level":"1.6.2.1","depth":3,"next":{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},"previous":{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/radial/linear.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Linear","level":"1.6.2.1","depth":3,"next":{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},"previous":{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/radial/linear.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1160,7 +1173,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Styling · GitBook</title>
|
<title>Styling · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1023,13 +1036,13 @@
|
||||||
<td><code>minor</code></td>
|
<td><code>minor</code></td>
|
||||||
<td><code>object</code></td>
|
<td><code>object</code></td>
|
||||||
<td><code>{}</code></td>
|
<td><code>{}</code></td>
|
||||||
<td>Minor ticks configuration. Ommited options are inherited from options above.</td>
|
<td>Minor ticks configuration. Omitted options are inherited from options above.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>major</code></td>
|
<td><code>major</code></td>
|
||||||
<td><code>object</code></td>
|
<td><code>object</code></td>
|
||||||
<td><code>{}</code></td>
|
<td><code>{}</code></td>
|
||||||
<td>Major ticks configuration. Ommited options are inherited from options above.</td>
|
<td>Major ticks configuration. Omitted options are inherited from options above.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -1164,7 +1177,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Styling","level":"1.6.4","depth":2,"next":{"title":"Developers","level":"1.7","depth":1,"path":"developers/README.md","ref":"developers/README.md","articles":[{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},{"title":"Contributing","level":"1.7.6","depth":2,"path":"developers/contributing.md","ref":"developers/contributing.md","articles":[]}]},"previous":{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"axes/styling.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Styling","level":"1.6.4","depth":2,"next":{"title":"Developers","level":"1.7","depth":1,"path":"developers/README.md","ref":"developers/README.md","articles":[{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},{"title":"Contributing","level":"1.7.6","depth":2,"path":"developers/contributing.md","ref":"developers/contributing.md","articles":[]}]},"previous":{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"axes/styling.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1182,7 +1195,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Area · GitBook</title>
|
<title>Area · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1014,7 +1027,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Area","level":"1.5.8","depth":2,"next":{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]},"previous":{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/area.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Area","level":"1.5.8","depth":2,"next":{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]},"previous":{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/area.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1032,7 +1045,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Bar · GitBook</title>
|
<title>Bar · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1031,7 +1044,7 @@ Sample: |==============|
|
||||||
<p>The <code>data</code> property of a dataset for a bar chart is specified as a an array of numbers. Each point in the data array corresponds to the label at the same index on the x axis.</p>
|
<p>The <code>data</code> property of a dataset for a bar chart is specified as a an array of numbers. Each point in the data array corresponds to the label at the same index on the x axis.</p>
|
||||||
<pre><code class="lang-javascript">data: [<span class="hljs-number">20</span>, <span class="hljs-number">10</span>]
|
<pre><code class="lang-javascript">data: [<span class="hljs-number">20</span>, <span class="hljs-number">10</span>]
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>You can also specify the dataset as x/y coordinates when using the <a href="time.md">time scale</a>.</p>
|
<p>You can also specify the dataset as x/y coordinates when using the <a href="../axes/cartesian/time.html#time-cartesian-axis">time scale</a>.</p>
|
||||||
<pre><code class="lang-javascript">data: [{x:<span class="hljs-string">'2016-12-25'</span>, y:<span class="hljs-number">20</span>}, {x:<span class="hljs-string">'2016-12-26'</span>, y:<span class="hljs-number">10</span>}]
|
<pre><code class="lang-javascript">data: [{x:<span class="hljs-string">'2016-12-25'</span>, y:<span class="hljs-number">20</span>}, {x:<span class="hljs-string">'2016-12-26'</span>, y:<span class="hljs-number">10</span>}]
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h1 id="stacked-bar-chart">Stacked Bar Chart</h1>
|
<h1 id="stacked-bar-chart">Stacked Bar Chart</h1>
|
||||||
|
@ -1125,7 +1138,7 @@ Sample: |==============|
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Bar","level":"1.5.2","depth":2,"next":{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},"previous":{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/bar.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Bar","level":"1.5.2","depth":2,"next":{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},"previous":{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/bar.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1143,7 +1156,7 @@ Sample: |==============|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Bubble · GitBook</title>
|
<title>Bubble · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1102,7 +1115,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Bubble","level":"1.5.6","depth":2,"next":{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},"previous":{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/bubble.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Bubble","level":"1.5.6","depth":2,"next":{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},"previous":{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/bubble.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1120,7 +1133,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Doughnut & Pie · GitBook</title>
|
<title>Doughnut & Pie · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -898,11 +911,6 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>label</code></td>
|
|
||||||
<td><code>String</code></td>
|
|
||||||
<td>The label for the dataset which appears in the legend and tooltips.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><code>backgroundColor</code></td>
|
<td><code>backgroundColor</code></td>
|
||||||
<td><code>Color[]</code></td>
|
<td><code>Color[]</code></td>
|
||||||
<td>The fill color of the arcs in the dataset. See <a href="../general/colors.html#colors">Colors</a></td>
|
<td>The fill color of the arcs in the dataset. See <a href="../general/colors.html#colors">Colors</a></td>
|
||||||
|
@ -1039,7 +1047,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"next":{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},"previous":{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/doughnut.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"next":{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},"previous":{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/doughnut.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1057,7 +1065,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Charts · GitBook</title>
|
<title>Charts · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -920,7 +933,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Charts","level":"1.5","depth":1,"next":{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},"previous":{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Charts","level":"1.5","depth":1,"next":{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},"previous":{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/README.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -938,7 +951,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Line · GitBook</title>
|
<title>Line · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1073,7 +1086,7 @@
|
||||||
<h3 id="number">Number[]</h3>
|
<h3 id="number">Number[]</h3>
|
||||||
<pre><code class="lang-javascript">data: [<span class="hljs-number">20</span>, <span class="hljs-number">10</span>]
|
<pre><code class="lang-javascript">data: [<span class="hljs-number">20</span>, <span class="hljs-number">10</span>]
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>When the <code>data</code> array is an array of numbers, the x axis is generally a <a href="../axes/cartesian/category.html#Category%20Axis">category</a>. The points are placed onto the axis using their position in the array. When a line chart is created with a category axis, the <code>labels</code> property of the data object must be specified.</p>
|
<p>When the <code>data</code> array is an array of numbers, the x axis is generally a <a href="../axes/cartesian/category.html#category-cartesian-axis">category</a>. The points are placed onto the axis using their position in the array. When a line chart is created with a category axis, the <code>labels</code> property of the data object must be specified.</p>
|
||||||
<h3 id="point">Point[]</h3>
|
<h3 id="point">Point[]</h3>
|
||||||
<pre><code class="lang-javascript">data: [{
|
<pre><code class="lang-javascript">data: [{
|
||||||
x: <span class="hljs-number">10</span>,
|
x: <span class="hljs-number">10</span>,
|
||||||
|
@ -1193,7 +1206,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Line","level":"1.5.1","depth":2,"next":{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},"previous":{"title":"Charts","level":"1.5","depth":1,"path":"charts/README.md","ref":"charts/README.md","articles":[{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/line.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Line","level":"1.5.1","depth":2,"next":{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},"previous":{"title":"Charts","level":"1.5","depth":1,"path":"charts/README.md","ref":"charts/README.md","articles":[{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/line.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1211,7 +1224,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Mixed · GitBook</title>
|
<title>Mixed · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -938,7 +951,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Mixed","level":"1.5.9","depth":2,"next":{"title":"Axes","level":"1.6","depth":1,"path":"axes/README.md","ref":"axes/README.md","articles":[{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]}]},"previous":{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/mixed.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Mixed","level":"1.5.9","depth":2,"next":{"title":"Axes","level":"1.6","depth":1,"path":"axes/README.md","ref":"axes/README.md","articles":[{"title":"Cartesian","level":"1.6.1","depth":2,"path":"axes/cartesian/README.md","ref":"axes/cartesian/README.md","articles":[{"title":"Category","level":"1.6.1.1","depth":3,"path":"axes/cartesian/category.md","ref":"axes/cartesian/category.md","articles":[]},{"title":"Linear","level":"1.6.1.2","depth":3,"path":"axes/cartesian/linear.md","ref":"axes/cartesian/linear.md","articles":[]},{"title":"Logarithmic","level":"1.6.1.3","depth":3,"path":"axes/cartesian/logarithmic.md","ref":"axes/cartesian/logarithmic.md","articles":[]},{"title":"Time","level":"1.6.1.4","depth":3,"path":"axes/cartesian/time.md","ref":"axes/cartesian/time.md","articles":[]}]},{"title":"Radial","level":"1.6.2","depth":2,"path":"axes/radial/README.md","ref":"axes/radial/README.md","articles":[{"title":"Linear","level":"1.6.2.1","depth":3,"path":"axes/radial/linear.md","ref":"axes/radial/linear.md","articles":[]}]},{"title":"Labelling","level":"1.6.3","depth":2,"path":"axes/labelling.md","ref":"axes/labelling.md","articles":[]},{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]}]},"previous":{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/mixed.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -956,7 +969,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Polar Area · GitBook</title>
|
<title>Polar Area · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -888,11 +901,6 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>label</code></td>
|
|
||||||
<td><code>String</code></td>
|
|
||||||
<td>The label for the dataset which appears in the legend and tooltips.</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><code>backgroundColor</code></td>
|
<td><code>backgroundColor</code></td>
|
||||||
<td><code>Color[]</code></td>
|
<td><code>Color[]</code></td>
|
||||||
<td>The fill color of the arcs in the dataset. See <a href="../general/colors.html#colors">Colors</a></td>
|
<td>The fill color of the arcs in the dataset. See <a href="../general/colors.html#colors">Colors</a></td>
|
||||||
|
@ -1020,7 +1028,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Polar Area","level":"1.5.5","depth":2,"next":{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},"previous":{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/polar.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Polar Area","level":"1.5.5","depth":2,"next":{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},"previous":{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/polar.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1038,7 +1046,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Radar · GitBook</title>
|
<title>Radar · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -996,7 +1009,7 @@
|
||||||
<li>'circle'</li>
|
<li>'circle'</li>
|
||||||
<li>'cross'</li>
|
<li>'cross'</li>
|
||||||
<li>'crossRot'</li>
|
<li>'crossRot'</li>
|
||||||
<li>'dash'. </li>
|
<li>'dash'.</li>
|
||||||
<li>'line'</li>
|
<li>'line'</li>
|
||||||
<li>'rect'</li>
|
<li>'rect'</li>
|
||||||
<li>'rectRounded'</li>
|
<li>'rectRounded'</li>
|
||||||
|
@ -1019,7 +1032,7 @@
|
||||||
<h2 id="default-options">Default Options</h2>
|
<h2 id="default-options">Default Options</h2>
|
||||||
<p>It is common to want to apply a configuration setting to all created radar charts. The global radar chart settings are stored in <code>Chart.defaults.radar</code>. Changing the global options only affects charts created after the change. Existing charts are not changed.</p>
|
<p>It is common to want to apply a configuration setting to all created radar charts. The global radar chart settings are stored in <code>Chart.defaults.radar</code>. Changing the global options only affects charts created after the change. Existing charts are not changed.</p>
|
||||||
<h2 id="data-structure">Data Structure</h2>
|
<h2 id="data-structure">Data Structure</h2>
|
||||||
<p>The <code>data</code> property of a dataset for a radar chart is specified as a an array of numbers. Each point in the data array corresponds to the label at the same index on the x axis. </p>
|
<p>The <code>data</code> property of a dataset for a radar chart is specified as a an array of numbers. Each point in the data array corresponds to the label at the same index on the x axis.</p>
|
||||||
<pre><code class="lang-javascript">data: [<span class="hljs-number">20</span>, <span class="hljs-number">10</span>]
|
<pre><code class="lang-javascript">data: [<span class="hljs-number">20</span>, <span class="hljs-number">10</span>]
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>For a radar chart, to provide context of what each point means, we include an array of strings that show around each point in the chart.</p>
|
<p>For a radar chart, to provide context of what each point means, we include an array of strings that show around each point in the chart.</p>
|
||||||
|
@ -1073,7 +1086,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Radar","level":"1.5.3","depth":2,"next":{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},"previous":{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/radar.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Radar","level":"1.5.3","depth":2,"next":{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},"previous":{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/radar.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1091,7 +1104,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Scatter · GitBook</title>
|
<title>Scatter · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -949,7 +962,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Scatter","level":"1.5.7","depth":2,"next":{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},"previous":{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"charts/scatter.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Scatter","level":"1.5.7","depth":2,"next":{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},"previous":{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"charts/scatter.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -967,7 +980,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Animations · GitBook</title>
|
<title>Animations · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1023,7 +1036,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Animations","level":"1.4.1","depth":2,"next":{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},"previous":{"title":"Configuration","level":"1.4","depth":1,"path":"configuration/README.md","ref":"configuration/README.md","articles":[{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"configuration/animations.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Animations","level":"1.4.1","depth":2,"next":{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},"previous":{"title":"Configuration","level":"1.4","depth":1,"path":"configuration/README.md","ref":"configuration/README.md","articles":[{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"configuration/animations.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1041,7 +1054,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Elements · GitBook</title>
|
<title>Elements · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1145,7 +1158,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Elements","level":"1.4.6","depth":2,"next":{"title":"Charts","level":"1.5","depth":1,"path":"charts/README.md","ref":"charts/README.md","articles":[{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]}]},"previous":{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"configuration/elements.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Elements","level":"1.4.6","depth":2,"next":{"title":"Charts","level":"1.5","depth":1,"path":"charts/README.md","ref":"charts/README.md","articles":[{"title":"Line","level":"1.5.1","depth":2,"path":"charts/line.md","ref":"charts/line.md","articles":[]},{"title":"Bar","level":"1.5.2","depth":2,"path":"charts/bar.md","ref":"charts/bar.md","articles":[]},{"title":"Radar","level":"1.5.3","depth":2,"path":"charts/radar.md","ref":"charts/radar.md","articles":[]},{"title":"Doughnut & Pie","level":"1.5.4","depth":2,"path":"charts/doughnut.md","ref":"charts/doughnut.md","articles":[]},{"title":"Polar Area","level":"1.5.5","depth":2,"path":"charts/polar.md","ref":"charts/polar.md","articles":[]},{"title":"Bubble","level":"1.5.6","depth":2,"path":"charts/bubble.md","ref":"charts/bubble.md","articles":[]},{"title":"Scatter","level":"1.5.7","depth":2,"path":"charts/scatter.md","ref":"charts/scatter.md","articles":[]},{"title":"Area","level":"1.5.8","depth":2,"path":"charts/area.md","ref":"charts/area.md","articles":[]},{"title":"Mixed","level":"1.5.9","depth":2,"path":"charts/mixed.md","ref":"charts/mixed.md","articles":[]}]},"previous":{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"configuration/elements.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1163,7 +1176,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Configuration · GitBook</title>
|
<title>Configuration · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -934,7 +947,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Configuration","level":"1.4","depth":1,"next":{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},"previous":{"title":"Fonts","level":"1.3.5","depth":2,"path":"general/fonts.md","ref":"general/fonts.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"configuration/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Configuration","level":"1.4","depth":1,"next":{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},"previous":{"title":"Fonts","level":"1.3.6","depth":2,"path":"general/fonts.md","ref":"general/fonts.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"configuration/README.md","mtime":"2018-03-01T21:46:31.675Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -952,7 +965,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Layout · GitBook</title>
|
<title>Layout · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -946,7 +959,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Layout","level":"1.4.2","depth":2,"next":{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},"previous":{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"configuration/layout.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Layout","level":"1.4.2","depth":2,"next":{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},"previous":{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"configuration/layout.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -964,7 +977,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Legend · GitBook</title>
|
<title>Legend · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -901,7 +914,7 @@
|
||||||
<td><code>onClick</code></td>
|
<td><code>onClick</code></td>
|
||||||
<td><code>Function</code></td>
|
<td><code>Function</code></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>A callback that is called when a click event is registered on a label item </td>
|
<td>A callback that is called when a click event is registered on a label item</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>onHover</code></td>
|
<td><code>onHover</code></td>
|
||||||
|
@ -1105,6 +1118,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<p>Note that legendCallback is not called automatically and you must call <code>generateLegend()</code> yourself in code when creating a legend using this method.</p>
|
||||||
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -1148,7 +1162,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Legend","level":"1.4.3","depth":2,"next":{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},"previous":{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"configuration/legend.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Legend","level":"1.4.3","depth":2,"next":{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},"previous":{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"configuration/legend.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1166,7 +1180,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Title · GitBook</title>
|
<title>Title · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -999,7 +1012,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Title","level":"1.4.4","depth":2,"next":{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},"previous":{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"configuration/title.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Title","level":"1.4.4","depth":2,"next":{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},"previous":{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"configuration/title.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1017,7 +1030,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Tooltip · GitBook</title>
|
<title>Tooltip · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -882,7 +895,7 @@
|
||||||
<td><code>enabled</code></td>
|
<td><code>enabled</code></td>
|
||||||
<td><code>Boolean</code></td>
|
<td><code>Boolean</code></td>
|
||||||
<td><code>true</code></td>
|
<td><code>true</code></td>
|
||||||
<td>Are tooltips enabled</td>
|
<td>Are on-canvas tooltips enabled</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>custom</code></td>
|
<td><code>custom</code></td>
|
||||||
|
@ -1026,7 +1039,7 @@
|
||||||
<td><code>footerSpacing</code></td>
|
<td><code>footerSpacing</code></td>
|
||||||
<td><code>Number</code></td>
|
<td><code>Number</code></td>
|
||||||
<td><code>2</code></td>
|
<td><code>2</code></td>
|
||||||
<td>Spacing to add to top and bottom of each fotter line.</td>
|
<td>Spacing to add to top and bottom of each footer line.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>footerMarginTop</code></td>
|
<td><code>footerMarginTop</code></td>
|
||||||
|
@ -1201,6 +1214,28 @@ Chart.Tooltip.positioners.custom = <span class="hljs-function"><span class="hljs
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<h3 id="label-callback">Label Callback</h3>
|
||||||
|
<p>The label callback can change the text that displays for a given data point. A common example to round data values; the following example rounds the data to two decimal places.</p>
|
||||||
|
<pre><code class="lang-javascript"><span class="hljs-keyword">var</span> chart = <span class="hljs-keyword">new</span> Chart(ctx, {
|
||||||
|
type: <span class="hljs-string">'line'</span>,
|
||||||
|
data: data,
|
||||||
|
options: {
|
||||||
|
tooltips: {
|
||||||
|
callbacks: {
|
||||||
|
label: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">tooltipItem, data</span>) </span>{
|
||||||
|
<span class="hljs-keyword">var</span> label = data.datasets[tooltipItem.datasetIndex].label || <span class="hljs-string">''</span>;
|
||||||
|
|
||||||
|
<span class="hljs-keyword">if</span> (label) {
|
||||||
|
label += <span class="hljs-string">': '</span>;
|
||||||
|
}
|
||||||
|
label += <span class="hljs-built_in">Math</span>.round(tooltipItem.yLabel * <span class="hljs-number">100</span>) / <span class="hljs-number">100</span>;
|
||||||
|
<span class="hljs-keyword">return</span> label;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</code></pre>
|
||||||
<h3 id="label-color-callback">Label Color Callback</h3>
|
<h3 id="label-color-callback">Label Color Callback</h3>
|
||||||
<p>For example, to return a red box for each item in the tooltip you could do:</p>
|
<p>For example, to return a red box for each item in the tooltip you could do:</p>
|
||||||
<pre><code class="lang-javascript"><span class="hljs-keyword">var</span> chart = <span class="hljs-keyword">new</span> Chart(ctx, {
|
<pre><code class="lang-javascript"><span class="hljs-keyword">var</span> chart = <span class="hljs-keyword">new</span> Chart(ctx, {
|
||||||
|
@ -1252,6 +1287,9 @@ Chart.Tooltip.positioners.custom = <span class="hljs-function"><span class="hljs
|
||||||
data: data,
|
data: data,
|
||||||
options: {
|
options: {
|
||||||
tooltips: {
|
tooltips: {
|
||||||
|
<span class="hljs-comment">// Disable the on-canvas tooltip</span>
|
||||||
|
enabled: <span class="hljs-literal">false</span>,
|
||||||
|
|
||||||
custom: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">tooltipModel</span>) </span>{
|
custom: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">tooltipModel</span>) </span>{
|
||||||
<span class="hljs-comment">// Tooltip Element</span>
|
<span class="hljs-comment">// Tooltip Element</span>
|
||||||
<span class="hljs-keyword">var</span> tooltipEl = <span class="hljs-built_in">document</span>.getElementById(<span class="hljs-string">'chartjs-tooltip'</span>);
|
<span class="hljs-keyword">var</span> tooltipEl = <span class="hljs-built_in">document</span>.getElementById(<span class="hljs-string">'chartjs-tooltip'</span>);
|
||||||
|
@ -1260,7 +1298,7 @@ Chart.Tooltip.positioners.custom = <span class="hljs-function"><span class="hljs
|
||||||
<span class="hljs-keyword">if</span> (!tooltipEl) {
|
<span class="hljs-keyword">if</span> (!tooltipEl) {
|
||||||
tooltipEl = <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'div'</span>);
|
tooltipEl = <span class="hljs-built_in">document</span>.createElement(<span class="hljs-string">'div'</span>);
|
||||||
tooltipEl.id = <span class="hljs-string">'chartjs-tooltip'</span>;
|
tooltipEl.id = <span class="hljs-string">'chartjs-tooltip'</span>;
|
||||||
tooltipEl.innerHTML = <span class="hljs-string">"<table></table>"</span>
|
tooltipEl.innerHTML = <span class="hljs-string">"<table></table>"</span>;
|
||||||
<span class="hljs-built_in">document</span>.body.appendChild(tooltipEl);
|
<span class="hljs-built_in">document</span>.body.appendChild(tooltipEl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1299,7 +1337,7 @@ Chart.Tooltip.positioners.custom = <span class="hljs-function"><span class="hljs
|
||||||
<span class="hljs-keyword">var</span> style = <span class="hljs-string">'background:'</span> + colors.backgroundColor;
|
<span class="hljs-keyword">var</span> style = <span class="hljs-string">'background:'</span> + colors.backgroundColor;
|
||||||
style += <span class="hljs-string">'; border-color:'</span> + colors.borderColor;
|
style += <span class="hljs-string">'; border-color:'</span> + colors.borderColor;
|
||||||
style += <span class="hljs-string">'; border-width: 2px'</span>;
|
style += <span class="hljs-string">'; border-width: 2px'</span>;
|
||||||
<span class="hljs-keyword">var</span> span = <span class="hljs-string">'<span class="chartjs-tooltip-key" style="'</span> + style + <span class="hljs-string">'"></span>'</span>;
|
<span class="hljs-keyword">var</span> span = <span class="hljs-string">'<span style="'</span> + style + <span class="hljs-string">'"></span>'</span>;
|
||||||
innerHtml += <span class="hljs-string">'<tr><td>'</span> + span + body + <span class="hljs-string">'</td></tr>'</span>;
|
innerHtml += <span class="hljs-string">'<tr><td>'</span> + span + body + <span class="hljs-string">'</td></tr>'</span>;
|
||||||
});
|
});
|
||||||
innerHtml += <span class="hljs-string">'</tbody>'</span>;
|
innerHtml += <span class="hljs-string">'</tbody>'</span>;
|
||||||
|
@ -1313,18 +1351,19 @@ Chart.Tooltip.positioners.custom = <span class="hljs-function"><span class="hljs
|
||||||
|
|
||||||
<span class="hljs-comment">// Display, position, and set styles for font</span>
|
<span class="hljs-comment">// Display, position, and set styles for font</span>
|
||||||
tooltipEl.style.opacity = <span class="hljs-number">1</span>;
|
tooltipEl.style.opacity = <span class="hljs-number">1</span>;
|
||||||
|
tooltipEl.style.position = <span class="hljs-string">'absolute'</span>;
|
||||||
tooltipEl.style.left = position.left + tooltipModel.caretX + <span class="hljs-string">'px'</span>;
|
tooltipEl.style.left = position.left + tooltipModel.caretX + <span class="hljs-string">'px'</span>;
|
||||||
tooltipEl.style.top = position.top + tooltipModel.caretY + <span class="hljs-string">'px'</span>;
|
tooltipEl.style.top = position.top + tooltipModel.caretY + <span class="hljs-string">'px'</span>;
|
||||||
tooltipEl.style.fontFamily = tooltipModel._fontFamily;
|
tooltipEl.style.fontFamily = tooltipModel._bodyFontFamily;
|
||||||
tooltipEl.style.fontSize = tooltipModel.fontSize;
|
tooltipEl.style.fontSize = tooltipModel.bodyFontSize + <span class="hljs-string">'px'</span>;
|
||||||
tooltipEl.style.fontStyle = tooltipModel._fontStyle;
|
tooltipEl.style.fontStyle = tooltipModel._bodyFontStyle;
|
||||||
tooltipEl.style.padding = tooltipModel.yPadding + <span class="hljs-string">'px '</span> + tooltipModel.xPadding + <span class="hljs-string">'px'</span>;
|
tooltipEl.style.padding = tooltipModel.yPadding + <span class="hljs-string">'px '</span> + tooltipModel.xPadding + <span class="hljs-string">'px'</span>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>See <code>samples/tooltips/line-customTooltips.html</code> for examples on how to get started.</p>
|
<p>See <a href="http://www.chartjs.org/samples/" target="_blank">samples</a> for examples on how to get started with custom tooltips.</p>
|
||||||
<h2 id="tooltip-model">Tooltip Model</h2>
|
<h2 id="tooltip-model">Tooltip Model</h2>
|
||||||
<p>The tooltip model contains parameters that can be used to render the tooltip.</p>
|
<p>The tooltip model contains parameters that can be used to render the tooltip.</p>
|
||||||
<pre><code class="lang-javascript">{
|
<pre><code class="lang-javascript">{
|
||||||
|
@ -1443,7 +1482,7 @@ Chart.Tooltip.positioners.custom = <span class="hljs-function"><span class="hljs
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Tooltip","level":"1.4.5","depth":2,"next":{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]},"previous":{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"configuration/tooltip.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Tooltip","level":"1.4.5","depth":2,"next":{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]},"previous":{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"configuration/tooltip.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1461,7 +1500,7 @@ Chart.Tooltip.positioners.custom = <span class="hljs-function"><span class="hljs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Chart.js API · GitBook</title>
|
<title>Chart.js API · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -950,9 +963,9 @@ myLineChart.clear();
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>To get an item that was clicked on, <code>getElementAtEvent</code> can be used.</p>
|
<p>To get an item that was clicked on, <code>getElementAtEvent</code> can be used.</p>
|
||||||
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">clickHandler</span>(<span class="hljs-params">evt</span>) </span>{
|
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">clickHandler</span>(<span class="hljs-params">evt</span>) </span>{
|
||||||
<span class="hljs-keyword">var</span> item = myChart.getElementAtEvent(evt)[<span class="hljs-number">0</span>];
|
<span class="hljs-keyword">var</span> firstPoint = myChart.getElementAtEvent(evt)[<span class="hljs-number">0</span>];
|
||||||
|
|
||||||
<span class="hljs-keyword">if</span> (item) {
|
<span class="hljs-keyword">if</span> (firstPoint) {
|
||||||
<span class="hljs-keyword">var</span> label = myChart.data.labels[firstPoint._index];
|
<span class="hljs-keyword">var</span> label = myChart.data.labels[firstPoint._index];
|
||||||
<span class="hljs-keyword">var</span> value = myChart.data.datasets[firstPoint._datasetIndex].data[firstPoint._index];
|
<span class="hljs-keyword">var</span> value = myChart.data.datasets[firstPoint._datasetIndex].data[firstPoint._index];
|
||||||
}
|
}
|
||||||
|
@ -1022,7 +1035,7 @@ myLineChart.clear();
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Chart.js API","level":"1.7.1","depth":2,"next":{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},"previous":{"title":"Developers","level":"1.7","depth":1,"path":"developers/README.md","ref":"developers/README.md","articles":[{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},{"title":"Contributing","level":"1.7.6","depth":2,"path":"developers/contributing.md","ref":"developers/contributing.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"developers/api.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Chart.js API","level":"1.7.1","depth":2,"next":{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},"previous":{"title":"Developers","level":"1.7","depth":1,"path":"developers/README.md","ref":"developers/README.md","articles":[{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},{"title":"Contributing","level":"1.7.6","depth":2,"path":"developers/contributing.md","ref":"developers/contributing.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"developers/api.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1040,7 +1053,7 @@ myLineChart.clear();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>New Axes · GitBook</title>
|
<title>New Axes · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -929,14 +942,14 @@
|
||||||
|
|
||||||
<span class="hljs-comment">// Get the pixel (x coordinate for horizontal axis, y coordinate for vertical axis) for a given value</span>
|
<span class="hljs-comment">// Get the pixel (x coordinate for horizontal axis, y coordinate for vertical axis) for a given value</span>
|
||||||
<span class="hljs-comment">// @param index: index into the ticks array</span>
|
<span class="hljs-comment">// @param index: index into the ticks array</span>
|
||||||
<span class="hljs-comment">// @param includeOffset: if true, get the pixel halway between the given tick and the next</span>
|
<span class="hljs-comment">// @param includeOffset: if true, get the pixel halfway between the given tick and the next</span>
|
||||||
getPixelForTick: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">index, includeOffset</span>) </span>{},
|
getPixelForTick: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">index, includeOffset</span>) </span>{},
|
||||||
|
|
||||||
<span class="hljs-comment">// Get the pixel (x coordinate for horizontal axis, y coordinate for vertical axis) for a given value</span>
|
<span class="hljs-comment">// Get the pixel (x coordinate for horizontal axis, y coordinate for vertical axis) for a given value</span>
|
||||||
<span class="hljs-comment">// @param value : the value to get the pixel for</span>
|
<span class="hljs-comment">// @param value : the value to get the pixel for</span>
|
||||||
<span class="hljs-comment">// @param index : index into the data array of the value</span>
|
<span class="hljs-comment">// @param index : index into the data array of the value</span>
|
||||||
<span class="hljs-comment">// @param datasetIndex : index of the dataset the value comes from</span>
|
<span class="hljs-comment">// @param datasetIndex : index of the dataset the value comes from</span>
|
||||||
<span class="hljs-comment">// @param includeOffset : if true, get the pixel halway between the given tick and the next</span>
|
<span class="hljs-comment">// @param includeOffset : if true, get the pixel halfway between the given tick and the next</span>
|
||||||
getPixelForValue: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">value, index, datasetIndex, includeOffset</span>) </span>{}
|
getPixelForValue: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params">value, index, datasetIndex, includeOffset</span>) </span>{}
|
||||||
|
|
||||||
<span class="hljs-comment">// Get the value for a given pixel (x coordinate for horizontal axis, y coordinate for vertical axis)</span>
|
<span class="hljs-comment">// Get the value for a given pixel (x coordinate for horizontal axis, y coordinate for vertical axis)</span>
|
||||||
|
@ -1018,7 +1031,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"New Axes","level":"1.7.5","depth":2,"next":{"title":"Contributing","level":"1.7.6","depth":2,"path":"developers/contributing.md","ref":"developers/contributing.md","articles":[]},"previous":{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"developers/axes.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"New Axes","level":"1.7.5","depth":2,"next":{"title":"Contributing","level":"1.7.6","depth":2,"path":"developers/contributing.md","ref":"developers/contributing.md","articles":[]},"previous":{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"developers/axes.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1036,7 +1049,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>New Charts · GitBook</title>
|
<title>New Charts · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -929,7 +942,7 @@
|
||||||
<li><code>Chart.controllers.bubble</code></li>
|
<li><code>Chart.controllers.bubble</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>For example, to derive a new chart type that extends from a bubble chart, you would do the following.</p>
|
<p>For example, to derive a new chart type that extends from a bubble chart, you would do the following.</p>
|
||||||
<pre><code class="lang-javascript"><span class="hljs-comment">// Sets the default config for 'derivedBubble' to be the same as the bubble defaults. </span>
|
<pre><code class="lang-javascript"><span class="hljs-comment">// Sets the default config for 'derivedBubble' to be the same as the bubble defaults.</span>
|
||||||
<span class="hljs-comment">// We look for the defaults by doing Chart.defaults[chartType]</span>
|
<span class="hljs-comment">// We look for the defaults by doing Chart.defaults[chartType]</span>
|
||||||
<span class="hljs-comment">// It looks like a bug exists when the defaults don't exist</span>
|
<span class="hljs-comment">// It looks like a bug exists when the defaults don't exist</span>
|
||||||
Chart.defaults.derivedBubble = Chart.defaults.bubble;
|
Chart.defaults.derivedBubble = Chart.defaults.bubble;
|
||||||
|
@ -1010,7 +1023,7 @@ Chart.controllers.derivedBubble = custom;
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"New Charts","level":"1.7.4","depth":2,"next":{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},"previous":{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"developers/charts.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"New Charts","level":"1.7.4","depth":2,"next":{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},"previous":{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"developers/charts.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1028,7 +1041,7 @@ Chart.controllers.derivedBubble = custom;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Contributing · GitBook</title>
|
<title>Contributing · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -877,7 +890,7 @@
|
||||||
<li>Avoid breaking changes unless there is an upcoming major release, which are infrequent. We encourage people to write plugins for most new advanced features, so care a lot about backwards compatibility.</li>
|
<li>Avoid breaking changes unless there is an upcoming major release, which are infrequent. We encourage people to write plugins for most new advanced features, so care a lot about backwards compatibility.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h1 id="joining-the-project">Joining the project</h1>
|
<h1 id="joining-the-project">Joining the project</h1>
|
||||||
<p> Active committers and contributors are invited to introduce yourself and request commit access to this project. We have a very active Slack community that you can join <a href="https://chart-js-automation.herokuapp.com/" target="_blank">here</a>. If you think you can help, we'd love to have you!</p>
|
<p> Active committers and contributors are invited to introduce yourself and request commit access to this project. We have a very active Slack community that you can join <a href="https://chartjs-slack.herokuapp.com/" target="_blank">here</a>. If you think you can help, we'd love to have you!</p>
|
||||||
<h1 id="building-and-testing">Building and Testing</h1>
|
<h1 id="building-and-testing">Building and Testing</h1>
|
||||||
<p>Chart.js uses <a href="http://gulpjs.com/" target="_blank">gulp</a> to build the library into a single JavaScript file.</p>
|
<p>Chart.js uses <a href="http://gulpjs.com/" target="_blank">gulp</a> to build the library into a single JavaScript file.</p>
|
||||||
<p>Firstly, we need to ensure development dependencies are installed. With node and npm installed, after cloning the Chart.js repo to a local directory, and navigating to that directory in the command line, we can run the following:</p>
|
<p>Firstly, we need to ensure development dependencies are installed. With node and npm installed, after cloning the Chart.js repo to a local directory, and navigating to that directory in the command line, we can run the following:</p>
|
||||||
|
@ -948,7 +961,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Contributing","level":"1.7.6","depth":2,"next":{"title":"Additional Notes","level":"1.8","depth":1,"path":"notes/README.md","ref":"notes/README.md","articles":[{"title":"Comparison Table","level":"1.8.1","depth":2,"path":"notes/comparison.md","ref":"notes/comparison.md","articles":[]},{"title":"Popular Extensions","level":"1.8.2","depth":2,"path":"notes/extensions.md","ref":"notes/extensions.md","articles":[]},{"title":"License","level":"1.8.3","depth":2,"path":"notes/license.md","ref":"notes/license.md","articles":[]}]},"previous":{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"developers/contributing.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Contributing","level":"1.7.6","depth":2,"next":{"title":"Additional Notes","level":"1.8","depth":1,"path":"notes/README.md","ref":"notes/README.md","articles":[{"title":"Comparison Table","level":"1.8.1","depth":2,"path":"notes/comparison.md","ref":"notes/comparison.md","articles":[]},{"title":"Popular Extensions","level":"1.8.2","depth":2,"path":"notes/extensions.md","ref":"notes/extensions.md","articles":[]},{"title":"License","level":"1.8.3","depth":2,"path":"notes/license.md","ref":"notes/license.md","articles":[]}]},"previous":{"title":"New Axes","level":"1.7.5","depth":2,"path":"developers/axes.md","ref":"developers/axes.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"developers/contributing.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -966,7 +979,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Developers · GitBook</title>
|
<title>Developers · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -945,7 +958,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Developers","level":"1.7","depth":1,"next":{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},"previous":{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"developers/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Developers","level":"1.7","depth":1,"next":{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},"previous":{"title":"Styling","level":"1.6.4","depth":2,"path":"axes/styling.md","ref":"axes/styling.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"developers/README.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -963,7 +976,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Plugins · GitBook</title>
|
<title>Plugins · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -1015,7 +1028,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Plugins","level":"1.7.3","depth":2,"next":{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},"previous":{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"developers/plugins.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Plugins","level":"1.7.3","depth":2,"next":{"title":"New Charts","level":"1.7.4","depth":2,"path":"developers/charts.md","ref":"developers/charts.md","articles":[]},"previous":{"title":"Updating Charts","level":"1.7.2","depth":2,"path":"developers/updates.md","ref":"developers/updates.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"developers/plugins.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1033,7 +1046,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Updating Charts · GitBook</title>
|
<title>Updating Charts · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="../general/interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../general/device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="../general/interactions/">
|
||||||
|
|
||||||
<a href="../general/interactions/">
|
<a href="../general/interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="../general/interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="../general/interactions/events.html">
|
||||||
|
|
||||||
<a href="../general/interactions/events.html">
|
<a href="../general/interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="../general/interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="../general/interactions/modes.html">
|
||||||
|
|
||||||
<a href="../general/interactions/modes.html">
|
<a href="../general/interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../general/options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../general/options.html">
|
||||||
|
|
||||||
<a href="../general/options.html">
|
<a href="../general/options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../general/colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../general/colors.html">
|
||||||
|
|
||||||
<a href="../general/colors.html">
|
<a href="../general/colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../general/fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../general/fonts.html">
|
||||||
|
|
||||||
<a href="../general/fonts.html">
|
<a href="../general/fonts.html">
|
||||||
|
|
||||||
|
@ -866,7 +879,7 @@
|
||||||
<section class="normal markdown-section">
|
<section class="normal markdown-section">
|
||||||
|
|
||||||
<h1 id="updating-charts">Updating Charts</h1>
|
<h1 id="updating-charts">Updating Charts</h1>
|
||||||
<p>It's pretty common to want to update charts after they've been created. When the chart data is changed, Chart.js will animate to the new data values. </p>
|
<p>It's pretty common to want to update charts after they've been created. When the chart data or options are changed, Chart.js will animate to the new data values and options.</p>
|
||||||
<h2 id="adding-or-removing-data">Adding or Removing Data</h2>
|
<h2 id="adding-or-removing-data">Adding or Removing Data</h2>
|
||||||
<p>Adding and removing data is supported by changing the data array. To add data, just add data into the data array as seen in this example.</p>
|
<p>Adding and removing data is supported by changing the data array. To add data, just add data into the data array as seen in this example.</p>
|
||||||
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">addData</span>(<span class="hljs-params">chart, label, data</span>) </span>{
|
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">addData</span>(<span class="hljs-params">chart, label, data</span>) </span>{
|
||||||
|
@ -876,8 +889,8 @@
|
||||||
});
|
});
|
||||||
chart.update();
|
chart.update();
|
||||||
}
|
}
|
||||||
</code></pre>
|
|
||||||
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">removeData</span>(<span class="hljs-params">chart</span>) </span>{
|
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">removeData</span>(<span class="hljs-params">chart</span>) </span>{
|
||||||
chart.data.labels.pop();
|
chart.data.labels.pop();
|
||||||
chart.data.datasets.forEach((dataset) => {
|
chart.data.datasets.forEach((dataset) => {
|
||||||
dataset.data.pop();
|
dataset.data.pop();
|
||||||
|
@ -885,6 +898,67 @@
|
||||||
chart.update();
|
chart.update();
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<h2 id="updating-options">Updating Options</h2>
|
||||||
|
<p>To update the options, mutating the options property in place or passing in a new options object are supported.</p>
|
||||||
|
<ul>
|
||||||
|
<li>If the options are mutated in place, other option properties would be preserved, including those calculated by Chart.js.</li>
|
||||||
|
<li>If created as a new object, it would be like creating a new chart with the options - old options would be discarded.</li>
|
||||||
|
</ul>
|
||||||
|
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">updateConfigByMutating</span>(<span class="hljs-params">chart</span>) </span>{
|
||||||
|
chart.options.title.text = <span class="hljs-string">'new title'</span>;
|
||||||
|
chart.update();
|
||||||
|
}
|
||||||
|
|
||||||
|
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">updateConfigAsNewObject</span>(<span class="hljs-params">chart</span>) </span>{
|
||||||
|
chart.options = {
|
||||||
|
responsive: <span class="hljs-literal">true</span>,
|
||||||
|
title:{
|
||||||
|
display:<span class="hljs-literal">true</span>,
|
||||||
|
text: <span class="hljs-string">'Chart.js'</span>
|
||||||
|
},
|
||||||
|
scales: {
|
||||||
|
xAxes: [{
|
||||||
|
display: <span class="hljs-literal">true</span>
|
||||||
|
}],
|
||||||
|
yAxes: [{
|
||||||
|
display: <span class="hljs-literal">true</span>
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
chart.update();
|
||||||
|
}
|
||||||
|
</code></pre>
|
||||||
|
<p>Scales can be updated separately without changing other options.
|
||||||
|
To update the scales, pass in an object containing all the customization including those unchanged ones.</p>
|
||||||
|
<p>Variables referencing any one from <code>chart.scales</code> would be lost after updating scales with a new <code>id</code> or the changed <code>type</code>.</p>
|
||||||
|
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">updateScales</span>(<span class="hljs-params">chart</span>) </span>{
|
||||||
|
<span class="hljs-keyword">var</span> xScale = chart.scales[<span class="hljs-string">'x-axis-0'</span>];
|
||||||
|
<span class="hljs-keyword">var</span> yScale = chart.scales[<span class="hljs-string">'y-axis-0'</span>];
|
||||||
|
chart.options.scales = {
|
||||||
|
xAxes: [{
|
||||||
|
id: <span class="hljs-string">'newId'</span>,
|
||||||
|
display: <span class="hljs-literal">true</span>
|
||||||
|
}],
|
||||||
|
yAxes: [{
|
||||||
|
display: <span class="hljs-literal">true</span>,
|
||||||
|
type: <span class="hljs-string">'logarithmic'</span>
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
chart.update();
|
||||||
|
<span class="hljs-comment">// need to update the reference</span>
|
||||||
|
xScale = chart.scales[<span class="hljs-string">'newId'</span>];
|
||||||
|
yScale = chart.scales[<span class="hljs-string">'y-axis-0'</span>];
|
||||||
|
}
|
||||||
|
</code></pre>
|
||||||
|
<p>You can also update a specific scale either by specifying its index or id.</p>
|
||||||
|
<pre><code class="lang-javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">updateScale</span>(<span class="hljs-params">chart</span>) </span>{
|
||||||
|
chart.options.scales.yAxes[<span class="hljs-number">0</span>] = {
|
||||||
|
type: <span class="hljs-string">'logarithmic'</span>
|
||||||
|
}
|
||||||
|
chart.update();
|
||||||
|
}
|
||||||
|
</code></pre>
|
||||||
|
<p>Code sample for updating options can be found in <a href="../../samples/scales/toggle-scale-type.html">toggle-scale-type.html</a>.</p>
|
||||||
<h2 id="preventing-animations">Preventing Animations</h2>
|
<h2 id="preventing-animations">Preventing Animations</h2>
|
||||||
<p>Sometimes when a chart updates, you may not want an animation. To achieve this you can call <code>update</code> with a duration of <code>0</code>. This will render the chart synchronously and without an animation.</p>
|
<p>Sometimes when a chart updates, you may not want an animation. To achieve this you can call <code>update</code> with a duration of <code>0</code>. This will render the chart synchronously and without an animation.</p>
|
||||||
|
|
||||||
|
@ -930,7 +1004,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Updating Charts","level":"1.7.2","depth":2,"next":{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},"previous":{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"developers/updates.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Updating Charts","level":"1.7.2","depth":2,"next":{"title":"Plugins","level":"1.7.3","depth":2,"path":"developers/plugins.md","ref":"developers/plugins.md","articles":[]},"previous":{"title":"Chart.js API","level":"1.7.1","depth":2,"path":"developers/api.md","ref":"developers/api.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"developers/updates.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -948,7 +1022,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Colors · GitBook</title>
|
<title>Colors · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="interactions/">
|
||||||
|
|
||||||
<a href="interactions/">
|
<a href="interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="interactions/events.html">
|
||||||
|
|
||||||
<a href="interactions/events.html">
|
<a href="interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="interactions/modes.html">
|
||||||
|
|
||||||
<a href="interactions/modes.html">
|
<a href="interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="options.html">
|
<li class="chapter " data-level="1.3.4" data-path="options.html">
|
||||||
|
|
||||||
<a href="options.html">
|
<a href="options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter active" data-level="1.3.4" data-path="colors.html">
|
<li class="chapter active" data-level="1.3.5" data-path="colors.html">
|
||||||
|
|
||||||
<a href="colors.html">
|
<a href="colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="fonts.html">
|
||||||
|
|
||||||
<a href="fonts.html">
|
<a href="fonts.html">
|
||||||
|
|
||||||
|
@ -869,7 +882,7 @@
|
||||||
<p>When supplying colors to Chart options, you can use a number of formats. You can specify the color as a string in hexadecimal, RGB, or HSL notations. If a color is needed, but not specified, Chart.js will use the global default color. This color is stored at <code>Chart.defaults.global.defaultColor</code>. It is initially set to <code>'rgba(0, 0, 0, 0.1)'</code></p>
|
<p>When supplying colors to Chart options, you can use a number of formats. You can specify the color as a string in hexadecimal, RGB, or HSL notations. If a color is needed, but not specified, Chart.js will use the global default color. This color is stored at <code>Chart.defaults.global.defaultColor</code>. It is initially set to <code>'rgba(0, 0, 0, 0.1)'</code></p>
|
||||||
<p>You can also pass a <a href="https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient" target="_blank">CanvasGradient</a> object. You will need to create this before passing to the chart, but using it you can achieve some interesting effects.</p>
|
<p>You can also pass a <a href="https://developer.mozilla.org/en-US/docs/Web/API/CanvasGradient" target="_blank">CanvasGradient</a> object. You will need to create this before passing to the chart, but using it you can achieve some interesting effects.</p>
|
||||||
<h2 id="patterns-and-gradients">Patterns and Gradients</h2>
|
<h2 id="patterns-and-gradients">Patterns and Gradients</h2>
|
||||||
<p>An alternative option is to pass a <a href="https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern" target="_blank">CanvasPattern</a> or <a href="https://developer.mozilla.org/en/docs/Web/API/CanvasGradient" target="_blank">CanvasGradient</a> object instead of a string colour. </p>
|
<p>An alternative option is to pass a <a href="https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern" target="_blank">CanvasPattern</a> or <a href="https://developer.mozilla.org/en/docs/Web/API/CanvasGradient" target="_blank">CanvasGradient</a> object instead of a string colour.</p>
|
||||||
<p>For example, if you wanted to fill a dataset with a pattern from an image you could do the following.</p>
|
<p>For example, if you wanted to fill a dataset with a pattern from an image you could do the following.</p>
|
||||||
<pre><code class="lang-javascript"><span class="hljs-keyword">var</span> img = <span class="hljs-keyword">new</span> Image();
|
<pre><code class="lang-javascript"><span class="hljs-keyword">var</span> img = <span class="hljs-keyword">new</span> Image();
|
||||||
img.src = <span class="hljs-string">'https://example.com/my_image.png'</span>;
|
img.src = <span class="hljs-string">'https://example.com/my_image.png'</span>;
|
||||||
|
@ -946,7 +959,7 @@ img.onload = <span class="hljs-function"><span class="hljs-keyword">function</sp
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Colors","level":"1.3.4","depth":2,"next":{"title":"Fonts","level":"1.3.5","depth":2,"path":"general/fonts.md","ref":"general/fonts.md","articles":[]},"previous":{"title":"Options","level":"1.3.3","depth":2,"path":"general/options.md","ref":"general/options.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"general/colors.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Colors","level":"1.3.5","depth":2,"next":{"title":"Fonts","level":"1.3.6","depth":2,"path":"general/fonts.md","ref":"general/fonts.md","articles":[]},"previous":{"title":"Options","level":"1.3.4","depth":2,"path":"general/options.md","ref":"general/options.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"general/colors.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -964,7 +977,7 @@ img.onload = <span class="hljs-function"><span class="hljs-keyword">function</sp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,987 @@
|
||||||
|
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="" >
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
|
<title>Pixel Ratio · Chart.js documentation</title>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
<meta name="author" content="chartjs">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../gitbook/style.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../style.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<meta name="HandheldFriendly" content="true"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||||
|
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
|
||||||
|
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="next" href="interactions/" />
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="prev" href="responsive.html" />
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../gitbook/gitbook-plugin-chartjs/style.css">
|
||||||
|
<script src="../gitbook/gitbook-plugin-chartjs/Chart.bundle.js"></script>
|
||||||
|
<script src="../gitbook/gitbook-plugin-chartjs/chartjs-plugin-deferred.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="book">
|
||||||
|
<div class="book-summary">
|
||||||
|
|
||||||
|
|
||||||
|
<div id="book-search-input" role="search">
|
||||||
|
<input type="text" placeholder="Type to search" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<nav role="navigation">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="summary">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.1" data-path="../">
|
||||||
|
|
||||||
|
<a href="../">
|
||||||
|
|
||||||
|
|
||||||
|
Chart.js
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.2" data-path="../getting-started/">
|
||||||
|
|
||||||
|
<a href="../getting-started/">
|
||||||
|
|
||||||
|
|
||||||
|
Getting Started
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.2.1" data-path="../getting-started/installation.html">
|
||||||
|
|
||||||
|
<a href="../getting-started/installation.html">
|
||||||
|
|
||||||
|
|
||||||
|
Installation
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.2.2" data-path="../getting-started/integration.html">
|
||||||
|
|
||||||
|
<a href="../getting-started/integration.html">
|
||||||
|
|
||||||
|
|
||||||
|
Integration
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.2.3" data-path="../getting-started/usage.html">
|
||||||
|
|
||||||
|
<a href="../getting-started/usage.html">
|
||||||
|
|
||||||
|
|
||||||
|
Usage
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3" data-path="./">
|
||||||
|
|
||||||
|
<a href="./">
|
||||||
|
|
||||||
|
|
||||||
|
General
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.1" data-path="responsive.html">
|
||||||
|
|
||||||
|
<a href="responsive.html">
|
||||||
|
|
||||||
|
|
||||||
|
Responsive
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter active" data-level="1.3.2" data-path="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="interactions/">
|
||||||
|
|
||||||
|
<a href="interactions/">
|
||||||
|
|
||||||
|
|
||||||
|
Interactions
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3.1" data-path="interactions/events.html">
|
||||||
|
|
||||||
|
<a href="interactions/events.html">
|
||||||
|
|
||||||
|
|
||||||
|
Events
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3.2" data-path="interactions/modes.html">
|
||||||
|
|
||||||
|
<a href="interactions/modes.html">
|
||||||
|
|
||||||
|
|
||||||
|
Modes
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.4" data-path="options.html">
|
||||||
|
|
||||||
|
<a href="options.html">
|
||||||
|
|
||||||
|
|
||||||
|
Options
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.5" data-path="colors.html">
|
||||||
|
|
||||||
|
<a href="colors.html">
|
||||||
|
|
||||||
|
|
||||||
|
Colors
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.6" data-path="fonts.html">
|
||||||
|
|
||||||
|
<a href="fonts.html">
|
||||||
|
|
||||||
|
|
||||||
|
Fonts
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.4" data-path="../configuration/">
|
||||||
|
|
||||||
|
<a href="../configuration/">
|
||||||
|
|
||||||
|
|
||||||
|
Configuration
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.4.1" data-path="../configuration/animations.html">
|
||||||
|
|
||||||
|
<a href="../configuration/animations.html">
|
||||||
|
|
||||||
|
|
||||||
|
Animations
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.4.2" data-path="../configuration/layout.html">
|
||||||
|
|
||||||
|
<a href="../configuration/layout.html">
|
||||||
|
|
||||||
|
|
||||||
|
Layout
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.4.3" data-path="../configuration/legend.html">
|
||||||
|
|
||||||
|
<a href="../configuration/legend.html">
|
||||||
|
|
||||||
|
|
||||||
|
Legend
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.4.4" data-path="../configuration/title.html">
|
||||||
|
|
||||||
|
<a href="../configuration/title.html">
|
||||||
|
|
||||||
|
|
||||||
|
Title
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.4.5" data-path="../configuration/tooltip.html">
|
||||||
|
|
||||||
|
<a href="../configuration/tooltip.html">
|
||||||
|
|
||||||
|
|
||||||
|
Tooltip
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.4.6" data-path="../configuration/elements.html">
|
||||||
|
|
||||||
|
<a href="../configuration/elements.html">
|
||||||
|
|
||||||
|
|
||||||
|
Elements
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5" data-path="../charts/">
|
||||||
|
|
||||||
|
<a href="../charts/">
|
||||||
|
|
||||||
|
|
||||||
|
Charts
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.1" data-path="../charts/line.html">
|
||||||
|
|
||||||
|
<a href="../charts/line.html">
|
||||||
|
|
||||||
|
|
||||||
|
Line
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.2" data-path="../charts/bar.html">
|
||||||
|
|
||||||
|
<a href="../charts/bar.html">
|
||||||
|
|
||||||
|
|
||||||
|
Bar
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.3" data-path="../charts/radar.html">
|
||||||
|
|
||||||
|
<a href="../charts/radar.html">
|
||||||
|
|
||||||
|
|
||||||
|
Radar
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.4" data-path="../charts/doughnut.html">
|
||||||
|
|
||||||
|
<a href="../charts/doughnut.html">
|
||||||
|
|
||||||
|
|
||||||
|
Doughnut & Pie
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.5" data-path="../charts/polar.html">
|
||||||
|
|
||||||
|
<a href="../charts/polar.html">
|
||||||
|
|
||||||
|
|
||||||
|
Polar Area
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.6" data-path="../charts/bubble.html">
|
||||||
|
|
||||||
|
<a href="../charts/bubble.html">
|
||||||
|
|
||||||
|
|
||||||
|
Bubble
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.7" data-path="../charts/scatter.html">
|
||||||
|
|
||||||
|
<a href="../charts/scatter.html">
|
||||||
|
|
||||||
|
|
||||||
|
Scatter
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.8" data-path="../charts/area.html">
|
||||||
|
|
||||||
|
<a href="../charts/area.html">
|
||||||
|
|
||||||
|
|
||||||
|
Area
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.5.9" data-path="../charts/mixed.html">
|
||||||
|
|
||||||
|
<a href="../charts/mixed.html">
|
||||||
|
|
||||||
|
|
||||||
|
Mixed
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6" data-path="../axes/">
|
||||||
|
|
||||||
|
<a href="../axes/">
|
||||||
|
|
||||||
|
|
||||||
|
Axes
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.1" data-path="../axes/cartesian/">
|
||||||
|
|
||||||
|
<a href="../axes/cartesian/">
|
||||||
|
|
||||||
|
|
||||||
|
Cartesian
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.1.1" data-path="../axes/cartesian/category.html">
|
||||||
|
|
||||||
|
<a href="../axes/cartesian/category.html">
|
||||||
|
|
||||||
|
|
||||||
|
Category
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.1.2" data-path="../axes/cartesian/linear.html">
|
||||||
|
|
||||||
|
<a href="../axes/cartesian/linear.html">
|
||||||
|
|
||||||
|
|
||||||
|
Linear
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.1.3" data-path="../axes/cartesian/logarithmic.html">
|
||||||
|
|
||||||
|
<a href="../axes/cartesian/logarithmic.html">
|
||||||
|
|
||||||
|
|
||||||
|
Logarithmic
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.1.4" data-path="../axes/cartesian/time.html">
|
||||||
|
|
||||||
|
<a href="../axes/cartesian/time.html">
|
||||||
|
|
||||||
|
|
||||||
|
Time
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.2" data-path="../axes/radial/">
|
||||||
|
|
||||||
|
<a href="../axes/radial/">
|
||||||
|
|
||||||
|
|
||||||
|
Radial
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.2.1" data-path="../axes/radial/linear.html">
|
||||||
|
|
||||||
|
<a href="../axes/radial/linear.html">
|
||||||
|
|
||||||
|
|
||||||
|
Linear
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.3" data-path="../axes/labelling.html">
|
||||||
|
|
||||||
|
<a href="../axes/labelling.html">
|
||||||
|
|
||||||
|
|
||||||
|
Labelling
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.6.4" data-path="../axes/styling.html">
|
||||||
|
|
||||||
|
<a href="../axes/styling.html">
|
||||||
|
|
||||||
|
|
||||||
|
Styling
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.7" data-path="../developers/">
|
||||||
|
|
||||||
|
<a href="../developers/">
|
||||||
|
|
||||||
|
|
||||||
|
Developers
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.7.1" data-path="../developers/api.html">
|
||||||
|
|
||||||
|
<a href="../developers/api.html">
|
||||||
|
|
||||||
|
|
||||||
|
Chart.js API
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.7.2" data-path="../developers/updates.html">
|
||||||
|
|
||||||
|
<a href="../developers/updates.html">
|
||||||
|
|
||||||
|
|
||||||
|
Updating Charts
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.7.3" data-path="../developers/plugins.html">
|
||||||
|
|
||||||
|
<a href="../developers/plugins.html">
|
||||||
|
|
||||||
|
|
||||||
|
Plugins
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.7.4" data-path="../developers/charts.html">
|
||||||
|
|
||||||
|
<a href="../developers/charts.html">
|
||||||
|
|
||||||
|
|
||||||
|
New Charts
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.7.5" data-path="../developers/axes.html">
|
||||||
|
|
||||||
|
<a href="../developers/axes.html">
|
||||||
|
|
||||||
|
|
||||||
|
New Axes
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.7.6" data-path="../developers/contributing.html">
|
||||||
|
|
||||||
|
<a href="../developers/contributing.html">
|
||||||
|
|
||||||
|
|
||||||
|
Contributing
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.8" data-path="../notes/">
|
||||||
|
|
||||||
|
<a href="../notes/">
|
||||||
|
|
||||||
|
|
||||||
|
Additional Notes
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.8.1" data-path="../notes/comparison.html">
|
||||||
|
|
||||||
|
<a href="../notes/comparison.html">
|
||||||
|
|
||||||
|
|
||||||
|
Comparison Table
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.8.2" data-path="../notes/extensions.html">
|
||||||
|
|
||||||
|
<a href="../notes/extensions.html">
|
||||||
|
|
||||||
|
|
||||||
|
Popular Extensions
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.8.3" data-path="../notes/license.html">
|
||||||
|
|
||||||
|
<a href="../notes/license.html">
|
||||||
|
|
||||||
|
|
||||||
|
License
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<li class="divider"></li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
|
||||||
|
Published with GitBook
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="book-body">
|
||||||
|
|
||||||
|
<div class="body-inner">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="book-header" role="navigation">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Title -->
|
||||||
|
<h1>
|
||||||
|
<i class="fa fa-circle-o-notch fa-spin"></i>
|
||||||
|
<a href=".." >Pixel Ratio</a>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="page-wrapper" tabindex="-1" role="main">
|
||||||
|
<div class="page-inner">
|
||||||
|
|
||||||
|
<div class="search-plus" id="book-search-results">
|
||||||
|
<div class="search-noresults">
|
||||||
|
|
||||||
|
<section class="normal markdown-section">
|
||||||
|
|
||||||
|
<h1 id="device-pixel-ratio">Device Pixel Ratio</h1>
|
||||||
|
<p>By default the chart's canvas will use a 1:1 pixel ratio, unless the physical display has a higher pixel ratio (e.g. Retina displays).</p>
|
||||||
|
<p>For applications where a chart will be converted to a bitmap, or printed to a higher DPI medium it can be desirable to render the chart at a higher resolution than the default.</p>
|
||||||
|
<p>Setting <code>devicePixelRatio</code> to a value other than 1 will force the canvas size to be scaled by that amount, relative to the container size. There should be no visible difference on screen; the difference will only be visible when the image is zoomed or printed.</p>
|
||||||
|
<h2 id="configuration-options">Configuration Options</h2>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Default</th>
|
||||||
|
<th>Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><code>devicePixelRatio</code></td>
|
||||||
|
<td><code>Number</code></td>
|
||||||
|
<td>window.devicePixelRatio</td>
|
||||||
|
<td>Override the window's default devicePixelRatio.</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="search-results">
|
||||||
|
<div class="has-results">
|
||||||
|
|
||||||
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
||||||
|
<ul class="search-results-list"></ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="no-results">
|
||||||
|
|
||||||
|
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="responsive.html" class="navigation navigation-prev " aria-label="Previous page: Responsive">
|
||||||
|
<i class="fa fa-angle-left"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="interactions/" class="navigation navigation-next " aria-label="Next page: Interactions">
|
||||||
|
<i class="fa fa-angle-right"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var gitbook = gitbook || [];
|
||||||
|
gitbook.push(function() {
|
||||||
|
gitbook.page.hasChanged({"page":{"title":"Pixel Ratio","level":"1.3.2","depth":2,"next":{"title":"Interactions","level":"1.3.3","depth":2,"path":"general/interactions/README.md","ref":"general/interactions/README.md","articles":[{"title":"Events","level":"1.3.3.1","depth":3,"path":"general/interactions/events.md","ref":"general/interactions/events.md","articles":[]},{"title":"Modes","level":"1.3.3.2","depth":3,"path":"general/interactions/modes.md","ref":"general/interactions/modes.md","articles":[]}]},"previous":{"title":"Responsive","level":"1.3.1","depth":2,"path":"general/responsive.md","ref":"general/responsive.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"general/device-pixel-ratio.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<script src="../gitbook/gitbook.js"></script>
|
||||||
|
<script src="../gitbook/theme.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="../gitbook/gitbook-plugin-anchorjs/anchor-style.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="../gitbook/gitbook-plugin-ga/plugin.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Fonts · GitBook</title>
|
<title>Fonts · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="interactions/">
|
||||||
|
|
||||||
<a href="interactions/">
|
<a href="interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="interactions/events.html">
|
||||||
|
|
||||||
<a href="interactions/events.html">
|
<a href="interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="interactions/modes.html">
|
||||||
|
|
||||||
<a href="interactions/modes.html">
|
<a href="interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="options.html">
|
<li class="chapter " data-level="1.3.4" data-path="options.html">
|
||||||
|
|
||||||
<a href="options.html">
|
<a href="options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="colors.html">
|
||||||
|
|
||||||
<a href="colors.html">
|
<a href="colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter active" data-level="1.3.5" data-path="fonts.html">
|
<li class="chapter active" data-level="1.3.6" data-path="fonts.html">
|
||||||
|
|
||||||
<a href="fonts.html">
|
<a href="fonts.html">
|
||||||
|
|
||||||
|
@ -963,7 +976,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Fonts","level":"1.3.5","depth":2,"next":{"title":"Configuration","level":"1.4","depth":1,"path":"configuration/README.md","ref":"configuration/README.md","articles":[{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]}]},"previous":{"title":"Colors","level":"1.3.4","depth":2,"path":"general/colors.md","ref":"general/colors.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"general/fonts.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Fonts","level":"1.3.6","depth":2,"next":{"title":"Configuration","level":"1.4","depth":1,"path":"configuration/README.md","ref":"configuration/README.md","articles":[{"title":"Animations","level":"1.4.1","depth":2,"path":"configuration/animations.md","ref":"configuration/animations.md","articles":[]},{"title":"Layout","level":"1.4.2","depth":2,"path":"configuration/layout.md","ref":"configuration/layout.md","articles":[]},{"title":"Legend","level":"1.4.3","depth":2,"path":"configuration/legend.md","ref":"configuration/legend.md","articles":[]},{"title":"Title","level":"1.4.4","depth":2,"path":"configuration/title.md","ref":"configuration/title.md","articles":[]},{"title":"Tooltip","level":"1.4.5","depth":2,"path":"configuration/tooltip.md","ref":"configuration/tooltip.md","articles":[]},{"title":"Elements","level":"1.4.6","depth":2,"path":"configuration/elements.md","ref":"configuration/elements.md","articles":[]}]},"previous":{"title":"Colors","level":"1.3.5","depth":2,"path":"general/colors.md","ref":"general/colors.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"general/fonts.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -981,7 +994,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>General · GitBook</title>
|
<title>General · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="interactions/">
|
<li class="chapter " data-level="1.3.2" data-path="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="interactions/">
|
||||||
|
|
||||||
<a href="interactions/">
|
<a href="interactions/">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="interactions/events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="interactions/events.html">
|
||||||
|
|
||||||
<a href="interactions/events.html">
|
<a href="interactions/events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="interactions/modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="interactions/modes.html">
|
||||||
|
|
||||||
<a href="interactions/modes.html">
|
<a href="interactions/modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="options.html">
|
<li class="chapter " data-level="1.3.4" data-path="options.html">
|
||||||
|
|
||||||
<a href="options.html">
|
<a href="options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="colors.html">
|
||||||
|
|
||||||
<a href="colors.html">
|
<a href="colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="fonts.html">
|
||||||
|
|
||||||
<a href="fonts.html">
|
<a href="fonts.html">
|
||||||
|
|
||||||
|
@ -869,7 +882,7 @@
|
||||||
<p>These sections describe general configuration options that can apply elsewhere in the documentation.</p>
|
<p>These sections describe general configuration options that can apply elsewhere in the documentation.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="responsive.html">Responsive</a> defines responsive chart options that apply to all charts.</li>
|
<li><a href="responsive.html">Responsive</a> defines responsive chart options that apply to all charts.</li>
|
||||||
<li><a href="device-pixel-ratio.md">Device Pixel Ratio</a> defines the ratio between display pixels and rendered pixels.</li>
|
<li><a href="device-pixel-ratio.html">Device Pixel Ratio</a> defines the ratio between display pixels and rendered pixels.</li>
|
||||||
<li><a href="interactions/">Interactions</a> defines options that reflect how hovering chart elements works.</li>
|
<li><a href="interactions/">Interactions</a> defines options that reflect how hovering chart elements works.</li>
|
||||||
<li><a href="options.html">Options</a> scriptable and indexable options syntax.</li>
|
<li><a href="options.html">Options</a> scriptable and indexable options syntax.</li>
|
||||||
<li><a href="colors.html">Colors</a> defines acceptable color values.</li>
|
<li><a href="colors.html">Colors</a> defines acceptable color values.</li>
|
||||||
|
@ -918,7 +931,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"General","level":"1.3","depth":1,"next":{"title":"Responsive","level":"1.3.1","depth":2,"path":"general/responsive.md","ref":"general/responsive.md","articles":[]},"previous":{"title":"Usage","level":"1.2.3","depth":2,"path":"getting-started/usage.md","ref":"getting-started/usage.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"general/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"General","level":"1.3","depth":1,"next":{"title":"Responsive","level":"1.3.1","depth":2,"path":"general/responsive.md","ref":"general/responsive.md","articles":[]},"previous":{"title":"Usage","level":"1.2.3","depth":2,"path":"getting-started/usage.md","ref":"getting-started/usage.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"general/README.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -936,7 +949,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Events · GitBook</title>
|
<title>Events · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2" data-path="./">
|
<li class="chapter " data-level="1.3.2" data-path="../device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter " data-level="1.3.3" data-path="./">
|
||||||
|
|
||||||
<a href="./">
|
<a href="./">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter active" data-level="1.3.2.1" data-path="events.html">
|
<li class="chapter active" data-level="1.3.3.1" data-path="events.html">
|
||||||
|
|
||||||
<a href="events.html">
|
<a href="events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="modes.html">
|
||||||
|
|
||||||
<a href="modes.html">
|
<a href="modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../options.html">
|
||||||
|
|
||||||
<a href="../options.html">
|
<a href="../options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../colors.html">
|
||||||
|
|
||||||
<a href="../colors.html">
|
<a href="../colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../fonts.html">
|
||||||
|
|
||||||
<a href="../fonts.html">
|
<a href="../fonts.html">
|
||||||
|
|
||||||
|
@ -951,7 +964,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Events","level":"1.3.2.1","depth":3,"next":{"title":"Modes","level":"1.3.2.2","depth":3,"path":"general/interactions/modes.md","ref":"general/interactions/modes.md","articles":[]},"previous":{"title":"Interactions","level":"1.3.2","depth":2,"path":"general/interactions/README.md","ref":"general/interactions/README.md","articles":[{"title":"Events","level":"1.3.2.1","depth":3,"path":"general/interactions/events.md","ref":"general/interactions/events.md","articles":[]},{"title":"Modes","level":"1.3.2.2","depth":3,"path":"general/interactions/modes.md","ref":"general/interactions/modes.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"general/interactions/events.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Events","level":"1.3.3.1","depth":3,"next":{"title":"Modes","level":"1.3.3.2","depth":3,"path":"general/interactions/modes.md","ref":"general/interactions/modes.md","articles":[]},"previous":{"title":"Interactions","level":"1.3.3","depth":2,"path":"general/interactions/README.md","ref":"general/interactions/README.md","articles":[{"title":"Events","level":"1.3.3.1","depth":3,"path":"general/interactions/events.md","ref":"general/interactions/events.md","articles":[]},{"title":"Modes","level":"1.3.3.2","depth":3,"path":"general/interactions/modes.md","ref":"general/interactions/modes.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"general/interactions/events.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -969,7 +982,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
||||||
<title>Interactions · GitBook</title>
|
<title>Interactions · Chart.js documentation</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="generator" content="GitBook 3.2.2">
|
<meta name="generator" content="GitBook 3.2.2">
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
<link rel="next" href="events.html" />
|
<link rel="next" href="events.html" />
|
||||||
|
|
||||||
|
|
||||||
<link rel="prev" href="../responsive.html" />
|
<link rel="prev" href="../device-pixel-ratio.html" />
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../gitbook/gitbook-plugin-chartjs/style.css">
|
<link rel="stylesheet" href="../../gitbook/gitbook-plugin-chartjs/style.css">
|
||||||
|
@ -195,7 +195,20 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter active" data-level="1.3.2" data-path="./">
|
<li class="chapter " data-level="1.3.2" data-path="../device-pixel-ratio.html">
|
||||||
|
|
||||||
|
<a href="../device-pixel-ratio.html">
|
||||||
|
|
||||||
|
|
||||||
|
Pixel Ratio
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="chapter active" data-level="1.3.3" data-path="./">
|
||||||
|
|
||||||
<a href="./">
|
<a href="./">
|
||||||
|
|
||||||
|
@ -209,7 +222,7 @@
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
|
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.1" data-path="events.html">
|
<li class="chapter " data-level="1.3.3.1" data-path="events.html">
|
||||||
|
|
||||||
<a href="events.html">
|
<a href="events.html">
|
||||||
|
|
||||||
|
@ -222,7 +235,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.2.2" data-path="modes.html">
|
<li class="chapter " data-level="1.3.3.2" data-path="modes.html">
|
||||||
|
|
||||||
<a href="modes.html">
|
<a href="modes.html">
|
||||||
|
|
||||||
|
@ -240,7 +253,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.3" data-path="../options.html">
|
<li class="chapter " data-level="1.3.4" data-path="../options.html">
|
||||||
|
|
||||||
<a href="../options.html">
|
<a href="../options.html">
|
||||||
|
|
||||||
|
@ -253,7 +266,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.4" data-path="../colors.html">
|
<li class="chapter " data-level="1.3.5" data-path="../colors.html">
|
||||||
|
|
||||||
<a href="../colors.html">
|
<a href="../colors.html">
|
||||||
|
|
||||||
|
@ -266,7 +279,7 @@
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="chapter " data-level="1.3.5" data-path="../fonts.html">
|
<li class="chapter " data-level="1.3.6" data-path="../fonts.html">
|
||||||
|
|
||||||
<a href="../fonts.html">
|
<a href="../fonts.html">
|
||||||
|
|
||||||
|
@ -866,7 +879,7 @@
|
||||||
<section class="normal markdown-section">
|
<section class="normal markdown-section">
|
||||||
|
|
||||||
<h1 id="interactions">Interactions</h1>
|
<h1 id="interactions">Interactions</h1>
|
||||||
<p>The hover configuration is passed into the <code>options.hover</code> namespace. The global hover configuration is at <code>Chart.defaults.global.hover</code>. To configure which events trigger chart interactions, see <a href="events.html#events">events</a>. </p>
|
<p>The hover configuration is passed into the <code>options.hover</code> namespace. The global hover configuration is at <code>Chart.defaults.global.hover</code>. To configure which events trigger chart interactions, see <a href="events.html#events">events</a>.</p>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -930,7 +943,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="../responsive.html" class="navigation navigation-prev " aria-label="Previous page: Responsive">
|
<a href="../device-pixel-ratio.html" class="navigation navigation-prev " aria-label="Previous page: Pixel Ratio">
|
||||||
<i class="fa fa-angle-left"></i>
|
<i class="fa fa-angle-left"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -946,7 +959,7 @@
|
||||||
<script>
|
<script>
|
||||||
var gitbook = gitbook || [];
|
var gitbook = gitbook || [];
|
||||||
gitbook.push(function() {
|
gitbook.push(function() {
|
||||||
gitbook.page.hasChanged({"page":{"title":"Interactions","level":"1.3.2","depth":2,"next":{"title":"Events","level":"1.3.2.1","depth":3,"path":"general/interactions/events.md","ref":"general/interactions/events.md","articles":[]},"previous":{"title":"Responsive","level":"1.3.1","depth":2,"path":"general/responsive.md","ref":"general/responsive.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"3.2.2"},"file":{"path":"general/interactions/README.md","mtime":"2017-10-28T15:03:49.266Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-10-28T15:09:53.587Z"},"basePath":"../..","book":{"language":""}});
|
gitbook.page.hasChanged({"page":{"title":"Interactions","level":"1.3.3","depth":2,"next":{"title":"Events","level":"1.3.3.1","depth":3,"path":"general/interactions/events.md","ref":"general/interactions/events.md","articles":[]},"previous":{"title":"Pixel Ratio","level":"1.3.2","depth":2,"path":"general/device-pixel-ratio.md","ref":"general/device-pixel-ratio.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-plus","anchorjs","chartjs","ga"],"root":"./docs","styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"anchorjs":{"icon":"#","placement":"left","visible":"always"},"ga":{"configuration":"auto","token":"UA-28909194-3"},"theme-default":{"styles":{"website":"style.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{},"chartjs":{"defaults":null},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}},"theme":"default","author":"chartjs","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Chart.js documentation","gitbook":"3.2.2"},"file":{"path":"general/interactions/README.md","mtime":"2018-03-01T21:46:31.679Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-03-01T21:50:47.970Z"},"basePath":"../..","book":{"language":""}});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
@ -964,7 +977,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.1/anchor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue