PluginProbe
M Chart / 2.3.2
M Chart v2.3.2
2.3.2 2.3.1 2.3 2.2.2 2.2.1 2.2 trunk 1.0 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.10 1.10.1 1.11 1.11.1 1.11.2 1.12 1.2 1.2.1 1.3 1.3.1 1.3.2 All 53 releases
m-chart / components / chartjs-themes / _default.php

_default.php in M Chart 2.3.2, at components/chartjs-themes/_default.php

66 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6
7 /**
8 * Theme Name: M Chart
9 */
10
11 return array(
12 'colors' => array(
13 '#0f64ab', // Dark Blue
14 '#3b93c3', // Medium Blue
15 '#8ec3de', // Light Blue
16 '#47494b', // Gray
17 '#f6a382', // Peach
18 '#d75f4c', // Coral
19 '#b31529', // Red
20 ),
21 // hoverRadius/hitRadius match get_points_defaults(), theme points replace the defaults wholesale
22 // so leaving them out would drop to Chart.js's much smaller hover targets
23 'points' => array(
24 array(
25 'point' => array(
26 // Circle
27 'pointStyle' => 'circle',
28 'hoverRadius' => 7,
29 'hitRadius' => 13,
30 ),
31 ),
32 array(
33 'point' => array(
34 // Diamond
35 'pointStyle' => 'rectRot',
36 'hoverRadius' => 7,
37 'hitRadius' => 13,
38 ),
39 ),
40 array(
41 'point' => array(
42 // Square
43 'pointStyle' => 'rect',
44 'hoverRadius' => 7,
45 'hitRadius' => 13,
46 ),
47 ),
48 array(
49 'point' => array(
50 // Up Triangle
51 'pointStyle' => 'triangle',
52 'hoverRadius' => 7,
53 'hitRadius' => 13,
54 ),
55 ),
56 array(
57 'point' => array(
58 // Down Triangle
59 'pointStyle' => 'triangle',
60 'rotation' => 180,
61 'hoverRadius' => 7,
62 'hitRadius' => 13,
63 ),
64 ),
65 ),
66 );