|
36 | 36 | .legend-container { width: 300px; margin-top: 10px; } |
37 | 37 | .legend-container .title { font-weight: bold; font-size: 14px; margin-bottom: 10px; } |
38 | 38 | .legend-container .legend { float: left; width: 48px; height: 48px; margin: 2px 5px 5px 0; padding: 0; |
39 | | - background-image: url(../../images/samples/data-chart/music-controls-sprite.png); background-repeat: no-repeat; |
| 39 | + background-image: url(../../../../images/data-chart/music-controls-sprite.png); background-repeat: no-repeat; |
40 | 40 | border: 1px solid #535353; zoom: 50%; } |
41 | 41 | .legend-container .add { background-position: -337px 0px; } |
42 | 42 | .legend-container .delete { background-position: -384px 0px; } |
|
63 | 63 | .btn-container .btn-add-end:hover { background-position: -336px -50px; } |
64 | 64 | .legend-container .btn-pause { background-position: -96px 0px; opacity: 0.5 } |
65 | 65 | .legend-container button { float: left; width: 48px; height: 48px; margin: 2px 5px 5px 0; padding: 0; border: none; cursor: pointer; padding: 0; |
66 | | - background-image: url(../../images/samples/data-chart/music-controls-sprite.png); background-repeat: no-repeat; |
| 66 | + background-image: url(../../../../images/data-chart/music-controls-sprite.png); background-repeat: no-repeat; |
67 | 67 | border: 1px solid #535353; zoom: 50% } |
68 | 68 | .legend-container span { font-size: 12px; } |
69 | 69 | #barColumnChart { margin-top: 20px; } |
@@ -282,97 +282,97 @@ <h1>$$(Chart_KO_Expense_Revenue_Title)</h1> |
282 | 282 | </div> |
283 | 283 | </div> |
284 | 284 | <div class="sample-chart-container"> |
285 | | - <div id="lineChart" data-bind='igDataChart: { |
| 285 | + <div id="lineChart" data-bind="igDataChart: { |
286 | 286 | dataSource: data, |
287 | 287 | width: chartWidth, |
288 | 288 | height: chartHeight, |
289 | | - title: "$$(ExpenseRevenuePerDay)", |
290 | | - legend: { element: "legendLineChart" }, |
| 289 | + title: '$$(ExpenseRevenuePerDay)', |
| 290 | + legend: { element: 'legendLineChart' }, |
291 | 291 | axes: [{ |
292 | | - name: "xAxis", |
293 | | - type: "categoryX", |
294 | | - label: "label", |
| 292 | + name: 'xAxis', |
| 293 | + type: 'categoryX', |
| 294 | + label: 'label', |
295 | 295 | interval: 1, |
296 | 296 | }, { |
297 | | - name: "yAxis", |
298 | | - type: "numericY", |
| 297 | + name: 'yAxis', |
| 298 | + type: 'numericY', |
299 | 299 | minimumValue: minChartValue, |
300 | 300 | maximumValue: maxChartValue, |
301 | 301 |
|
302 | 302 | }], |
303 | 303 | series: [{ |
304 | | - name: "line1", |
305 | | - type: "line", |
| 304 | + name: 'line1', |
| 305 | + type: 'line', |
306 | 306 | isHighlightingEnabled: true, |
307 | 307 | isTransitionInEnabled: true, |
308 | | - title: "$$(Chart_KO_Revenue) $$(Chart_KO_Daily)", |
| 308 | + title: '$$(Chart_KO_Revenue) $$(Chart_KO_Daily)', |
309 | 309 | thickness: chartThickness, |
310 | | - markerType: "circle", |
311 | | - xAxis: "xAxis", |
312 | | - yAxis: "yAxis", |
313 | | - valueMemberPath: "revenue", |
| 310 | + markerType: 'circle', |
| 311 | + xAxis: 'xAxis', |
| 312 | + yAxis: 'yAxis', |
| 313 | + valueMemberPath: 'revenue', |
314 | 314 | transitionDuration: transitionDuration |
315 | 315 | }, |
316 | 316 | { |
317 | | - name: "line2", |
318 | | - type: "line", |
| 317 | + name: 'line2', |
| 318 | + type: 'line', |
319 | 319 | isHighlightingEnabled: true, |
320 | 320 | isTransitionInEnabled: true, |
321 | | - title: "$$(Chart_KO_Expenses) $$(Chart_KO_Daily)", |
| 321 | + title: '$$(Chart_KO_Expenses) $$(Chart_KO_Daily)', |
322 | 322 | thickness: chartThickness, |
323 | | - markerType: "circle", |
324 | | - xAxis: "xAxis", |
325 | | - yAxis: "yAxis", |
326 | | - valueMemberPath: "expenses", |
| 323 | + markerType: 'circle', |
| 324 | + xAxis: 'xAxis', |
| 325 | + yAxis: 'yAxis', |
| 326 | + valueMemberPath: 'expenses', |
327 | 327 | transitionDuration: transitionDuration, |
328 | | - brush: "#d3404b", |
329 | | - markerBrush: "#d3404b" |
| 328 | + brush: '#d3404b', |
| 329 | + markerBrush: '#d3404b' |
330 | 330 | }] |
331 | | - }'></div> |
| 331 | + }"></div> |
332 | 332 | <div id="legendLineChart"></div> |
333 | | - <div id="barColumnChart" data-bind='igDataChart: { |
| 333 | + <div id="barColumnChart" data-bind="igDataChart: { |
334 | 334 | dataSource: data, |
335 | 335 | width: chartWidth, |
336 | 336 | height: chartHeight, |
337 | | - title: "$$(ExpenseRevenuePerDay)", |
338 | | - legend: { element: "legendBarColumnChart" }, |
| 337 | + title: '$$(ExpenseRevenuePerDay)', |
| 338 | + legend: { element: 'legendBarColumnChart' }, |
339 | 339 | axes: [{ |
340 | | - name: "xAxis", |
341 | | - type: "categoryX", |
342 | | - label: "label", |
| 340 | + name: 'xAxis', |
| 341 | + type: 'categoryX', |
| 342 | + label: 'label', |
343 | 343 | interval: 1, |
344 | 344 | }, { |
345 | | - name: "yAxis", |
346 | | - type: "numericY", |
| 345 | + name: 'yAxis', |
| 346 | + type: 'numericY', |
347 | 347 | minimumValue: minChartValue, |
348 | 348 | maximumValue: maxChartValue |
349 | 349 | }], |
350 | 350 | series: [{ |
351 | | - name: "column1", |
352 | | - type: "column", |
| 351 | + name: 'column1', |
| 352 | + type: 'column', |
353 | 353 | isHighlightingEnabled: true, |
354 | 354 | isTransitionInEnabled: true, |
355 | | - title: "$$(Chart_KO_Revenue) $$(Chart_KO_Daily)", |
| 355 | + title: '$$(Chart_KO_Revenue) $$(Chart_KO_Daily)', |
356 | 356 | thickness: chartThickness, |
357 | | - xAxis: "xAxis", |
358 | | - yAxis: "yAxis", |
359 | | - valueMemberPath: "revenue", |
| 357 | + xAxis: 'xAxis', |
| 358 | + yAxis: 'yAxis', |
| 359 | + valueMemberPath: 'revenue', |
360 | 360 | transitionDuration: transitionDuration |
361 | 361 | }, |
362 | 362 | { |
363 | | - name: "column2", |
364 | | - type: "column", |
| 363 | + name: 'column2', |
| 364 | + type: 'column', |
365 | 365 | isHighlightingEnabled: true, |
366 | 366 | isTransitionInEnabled: true, |
367 | | - title: "$$(Chart_KO_Expenses) $$(Chart_KO_Daily)", |
| 367 | + title: '$$(Chart_KO_Expenses) $$(Chart_KO_Daily)', |
368 | 368 | thickness: chartThickness, |
369 | | - xAxis: "xAxis", |
370 | | - yAxis: "yAxis", |
371 | | - valueMemberPath: "expenses", |
| 369 | + xAxis: 'xAxis', |
| 370 | + yAxis: 'yAxis', |
| 371 | + valueMemberPath: 'expenses', |
372 | 372 | transitionDuration: transitionDuration, |
373 | | - brush: "#d3404b" |
| 373 | + brush: '#d3404b' |
374 | 374 | }] |
375 | | - }'></div> |
| 375 | + }"></div> |
376 | 376 | <div id="legendBarColumnChart"></div> |
377 | 377 | </div> |
378 | 378 | </div> |
|
0 commit comments