Repository navigation
Expand file tree
/
Copy pathcustomization.html
More file actions
177 lines (172 loc) · 6.77 KB
/
Copy pathcustomization.html
File metadata and controls
177 lines (172 loc) · 6.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<div class="col-lg-8 control-section">
<div id="spark-container" class="row">
<div class="cols-sample-area" align="center">
<p>
<font size=4px> Worldwide car sales by brand - 2017</font>
</p>
<table style="width:100%;">
<tr>
<td align="center" style="width: 30%;">Sales Percentage</td>
<td style="width: 30%;">
<div id="percentage" style="height:200px"></div>
</td>
</tr>
<tr>
<td align="center" style="width: 30%;">Sales Count</td>
<td style="width: 30%;">
<div id="sales" style="height:200px"></div>
</td>
</tr>
</table>
</div>
</div>
<div style="float: right; margin-right: 10px;">Source:
<a href=" http://carsalesbase.com/global-car-sales-2017" target="_blank">carsalesbase.com</a>
</div>
</div>
<div id="action-description">
<p>
This sample depicts the various customization options available in sparklines.
</p>
</div>
<div id="description">
<p>
In this example, you can see various customization options available in sparklines. Tooltip is enabled in this example. To
see the tooltip in action, hover the mouse over the data points or tap on a data point in touch enabled devices.
</p>
</div>
<!-- custom code start -->
<style>
.sparkinput {
opacity: 1 !important;
position: relative !important;
}
.property-text {
font-family: "Roboto", "Segoe UI", "GeezaPro", "DejaVu Serif", "sans-serif" !important;
font-size: 13px !important;
font-weight: 400 !important;
}
#range > * {
padding: 0px !important;
}
label{
height: 32px !important;
}
</style>
<!-- custom code end -->
<!-- Property Panel -->
<div class="col-lg-4 property-section">
<br>
<table id="property" style="width:100%" title="Properties">
<tbody>
<tr style="height: 30px">
<td class="property-text" style="width: 50%">
Sparkline
</td>
<td style="width: 50%">
<select id="spark" style="width: 100%;">
<option selected value="salespercentage">Sales Percentage</option>
<option value="salescount">Sales Count</option>
</select>
</td>
</tr>
<tr style="height: 30px">
<td style="width: 50%">
Special Points
</td>
<td style="width: 50%">
<table>
<tr>
<td>All</td>
<td>
<input type="checkbox" id="all">
</td>
<td style="padding: 5px;">Negative</td>
<td>
<input type="checkbox" id="negative">
</td>
</tr>
<tr>
<td style="padding: 5px;">First</td>
<td>
<input type="checkbox" id="first">
</td>
<td style="padding: 5px;">Last</td>
<td>
<input type="checkbox" id="last">
</td>
</tr>
<tr>
<td style="padding: 5px;">High</td>
<td>
<input type="checkbox" id="high">
</td>
<td style="padding: 5px;">Low</td>
<td>
<input type="checkbox" id="low">
</td>
</tr>
</table>
</td>
</tr>
<tr style="height: 30px">
<td style="width: 50%">
Marker
</td>
<td style="width: 50%">
<input type="checkbox" name="marker" id="marker">
</td>
</tr>
<tr style="height: 30px">
<td style="width: 50%">
Data Label
</td>
<td style="width: 50%">
<input type="checkbox" name="datalabel" id="datalabel">
</td>
</tr>
<tr style="height: 30px">
<td style="width: 50%">
Enable RTL
</td>
<td style="width: 50%">
<input type="checkbox" name="enableRTL" id="enableRTL">
</td>
</tr>
<tr style="height: 30px">
<td style="width: 50%">
Tooltip
</td>
<td style="width: 50%">
<input type="checkbox" name="tooltip" id="tooltip">
</td>
</tr>
<tr style="height: 30px">
<td style="width: 50%">
Track Line
</td>
<td style="width: 50%">
<input type="checkbox" name="trackline" id="trackline">
</td>
</tr>
<tr style="height: 30px">
<td style="width: 50%">
Axis Line
</td>
<td style="width: 50%">
<input type="checkbox" name="axis" id="axis1">
</td>
</tr>
<tr>
<td id='axisval'>
Axis Value
<span> 0</span>
</td>
<td>
<div id="range"></div>
</td>
</tr>
</tbody>
</table>
</div>