write_xlsx 1.10.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -1
  3. data/Changes +3 -0
  4. data/README.md +1 -1
  5. data/examples/autofilter.rb +1 -1
  6. data/examples/chart_area.rb +12 -12
  7. data/examples/chart_bar.rb +12 -12
  8. data/examples/chart_clustered.rb +12 -12
  9. data/examples/chart_column.rb +12 -12
  10. data/examples/chart_combined.rb +25 -25
  11. data/examples/chart_data_labels.rb +99 -99
  12. data/examples/chart_data_table.rb +25 -25
  13. data/examples/chart_data_tools.rb +50 -50
  14. data/examples/chart_doughnut.rb +29 -29
  15. data/examples/chart_gauge.rb +18 -18
  16. data/examples/chart_line.rb +32 -32
  17. data/examples/chart_pareto.rb +16 -16
  18. data/examples/chart_pie.rb +17 -17
  19. data/examples/chart_radar.rb +38 -38
  20. data/examples/chart_scatter.rb +12 -12
  21. data/examples/chart_secondary_axis.rb +13 -13
  22. data/examples/chart_stock.rb +12 -12
  23. data/examples/chart_styles.rb +5 -5
  24. data/examples/colors.rb +11 -11
  25. data/examples/comments2.rb +15 -15
  26. data/examples/conditional_format.rb +74 -74
  27. data/examples/data_validate.rb +64 -64
  28. data/examples/date_time.rb +3 -3
  29. data/examples/demo.rb +14 -14
  30. data/examples/diag_border.rb +6 -6
  31. data/examples/dynamic_arrays.rb +2 -2
  32. data/examples/formats.rb +10 -10
  33. data/examples/hyperlink1.rb +4 -4
  34. data/examples/ignore_errors.rb +2 -2
  35. data/examples/indent.rb +2 -2
  36. data/examples/macros.rb +4 -4
  37. data/examples/merge1.rb +1 -1
  38. data/examples/merge2.rb +9 -9
  39. data/examples/merge3.rb +5 -5
  40. data/examples/merge4.rb +20 -20
  41. data/examples/merge5.rb +18 -18
  42. data/examples/merge6.rb +7 -7
  43. data/examples/outline.rb +1 -1
  44. data/examples/outline_collapsed.rb +1 -1
  45. data/examples/panes.rb +4 -4
  46. data/examples/properties.rb +9 -9
  47. data/examples/protection.rb +2 -2
  48. data/examples/rich_strings.rb +6 -6
  49. data/examples/shape1.rb +7 -7
  50. data/examples/shape2.rb +16 -16
  51. data/examples/shape3.rb +5 -5
  52. data/examples/shape4.rb +7 -7
  53. data/examples/shape5.rb +7 -7
  54. data/examples/shape6.rb +7 -7
  55. data/examples/shape7.rb +10 -10
  56. data/examples/shape8.rb +10 -10
  57. data/examples/shape_all.rb +4 -4
  58. data/examples/sparklines1.rb +11 -11
  59. data/examples/sparklines2.rb +76 -76
  60. data/examples/tables.rb +87 -87
  61. data/examples/watermark.rb +1 -1
  62. data/lib/write_xlsx/chart/bar.rb +4 -4
  63. data/lib/write_xlsx/chart/line.rb +1 -1
  64. data/lib/write_xlsx/chart/radar.rb +2 -2
  65. data/lib/write_xlsx/chart/scatter.rb +4 -4
  66. data/lib/write_xlsx/chart/series.rb +27 -27
  67. data/lib/write_xlsx/chart/stock.rb +5 -5
  68. data/lib/write_xlsx/chart.rb +30 -30
  69. data/lib/write_xlsx/colors.rb +19 -19
  70. data/lib/write_xlsx/package/conditional_format.rb +3 -3
  71. data/lib/write_xlsx/package/table.rb +8 -8
  72. data/lib/write_xlsx/shape.rb +5 -5
  73. data/lib/write_xlsx/sheets.rb +1 -1
  74. data/lib/write_xlsx/sparkline.rb +286 -286
  75. data/lib/write_xlsx/utility.rb +23 -23
  76. data/lib/write_xlsx/version.rb +1 -1
  77. data/lib/write_xlsx/workbook.rb +20 -20
  78. data/lib/write_xlsx/worksheet/cell_data.rb +1 -1
  79. data/lib/write_xlsx/worksheet.rb +28 -28
  80. metadata +2 -2
@@ -195,7 +195,7 @@ module Writexlsx
195
195
  # Write the <x14:colorAxis> element.
196
196
  #
197
197
  def write_color_axis # :nodoc:
198
- write_spark_color('x14:colorAxis', { :_rgb => 'FF000000' })
198
+ write_spark_color('x14:colorAxis', { _rgb: 'FF000000' })
199
199
  end
200
200
 
201
201
  #
@@ -274,7 +274,7 @@ module Writexlsx
274
274
  def set_spark_color(user_color, palette_color)
275
275
  return unless palette_color
276
276
 
277
- instance_variable_set("@#{user_color}", { :_rgb => palette_color })
277
+ instance_variable_set("@#{user_color}", { _rgb: palette_color })
278
278
  end
279
279
 
280
280
  def cust_max_min(max_min) # :nodoc:
@@ -283,368 +283,368 @@ module Writexlsx
283
283
 
284
284
  def valid_sparkline_parameter # :nodoc:
285
285
  {
286
- :location => 1,
287
- :range => 1,
288
- :type => 1,
289
- :high_point => 1,
290
- :low_point => 1,
291
- :negative_points => 1,
292
- :first_point => 1,
293
- :last_point => 1,
294
- :markers => 1,
295
- :style => 1,
296
- :series_color => 1,
297
- :negative_color => 1,
298
- :markers_color => 1,
299
- :first_color => 1,
300
- :last_color => 1,
301
- :high_color => 1,
302
- :low_color => 1,
303
- :max => 1,
304
- :min => 1,
305
- :axis => 1,
306
- :reverse => 1,
307
- :empty_cells => 1,
308
- :show_hidden => 1,
309
- :date_axis => 1,
310
- :weight => 1
286
+ location: 1,
287
+ range: 1,
288
+ type: 1,
289
+ high_point: 1,
290
+ low_point: 1,
291
+ negative_points: 1,
292
+ first_point: 1,
293
+ last_point: 1,
294
+ markers: 1,
295
+ style: 1,
296
+ series_color: 1,
297
+ negative_color: 1,
298
+ markers_color: 1,
299
+ first_color: 1,
300
+ last_color: 1,
301
+ high_color: 1,
302
+ low_color: 1,
303
+ max: 1,
304
+ min: 1,
305
+ axis: 1,
306
+ reverse: 1,
307
+ empty_cells: 1,
308
+ show_hidden: 1,
309
+ date_axis: 1,
310
+ weight: 1
311
311
  }
312
312
  end
313
313
 
314
314
  def spark_styles # :nodoc:
315
315
  [
316
316
  { # 0
317
- :series => { :_theme => "4", :_tint => "-0.499984740745262" },
318
- :negative => { :_theme => "5" },
319
- :markers => { :_theme => "4", :_tint => "-0.499984740745262" },
320
- :first => { :_theme => "4", :_tint => "0.39997558519241921" },
321
- :last => { :_theme => "4", :_tint => "0.39997558519241921" },
322
- :high => { :_theme => "4" },
323
- :low => { :_theme => "4" }
317
+ series: { _theme: "4", _tint: "-0.499984740745262" },
318
+ negative: { _theme: "5" },
319
+ markers: { _theme: "4", _tint: "-0.499984740745262" },
320
+ first: { _theme: "4", _tint: "0.39997558519241921" },
321
+ last: { _theme: "4", _tint: "0.39997558519241921" },
322
+ high: { _theme: "4" },
323
+ low: { _theme: "4" }
324
324
  },
325
325
  { # 1
326
- :series => { :_theme => "4", :_tint => "-0.499984740745262" },
327
- :negative => { :_theme => "5" },
328
- :markers => { :_theme => "4", :_tint => "-0.499984740745262" },
329
- :first => { :_theme => "4", :_tint => "0.39997558519241921" },
330
- :last => { :_theme => "4", :_tint => "0.39997558519241921" },
331
- :high => { :_theme => "4" },
332
- :low => { :_theme => "4" }
326
+ series: { _theme: "4", _tint: "-0.499984740745262" },
327
+ negative: { _theme: "5" },
328
+ markers: { _theme: "4", _tint: "-0.499984740745262" },
329
+ first: { _theme: "4", _tint: "0.39997558519241921" },
330
+ last: { _theme: "4", _tint: "0.39997558519241921" },
331
+ high: { _theme: "4" },
332
+ low: { _theme: "4" }
333
333
  },
334
334
  { # 2
335
- :series => { :_theme => "5", :_tint => "-0.499984740745262" },
336
- :negative => { :_theme => "6" },
337
- :markers => { :_theme => "5", :_tint => "-0.499984740745262" },
338
- :first => { :_theme => "5", :_tint => "0.39997558519241921" },
339
- :last => { :_theme => "5", :_tint => "0.39997558519241921" },
340
- :high => { :_theme => "5" },
341
- :low => { :_theme => "5" }
335
+ series: { _theme: "5", _tint: "-0.499984740745262" },
336
+ negative: { _theme: "6" },
337
+ markers: { _theme: "5", _tint: "-0.499984740745262" },
338
+ first: { _theme: "5", _tint: "0.39997558519241921" },
339
+ last: { _theme: "5", _tint: "0.39997558519241921" },
340
+ high: { _theme: "5" },
341
+ low: { _theme: "5" }
342
342
  },
343
343
  { # 3
344
- :series => { :_theme => "6", :_tint => "-0.499984740745262" },
345
- :negative => { :_theme => "7" },
346
- :markers => { :_theme => "6", :_tint => "-0.499984740745262" },
347
- :first => { :_theme => "6", :_tint => "0.39997558519241921" },
348
- :last => { :_theme => "6", :_tint => "0.39997558519241921" },
349
- :high => { :_theme => "6" },
350
- :low => { :_theme => "6" }
344
+ series: { _theme: "6", _tint: "-0.499984740745262" },
345
+ negative: { _theme: "7" },
346
+ markers: { _theme: "6", _tint: "-0.499984740745262" },
347
+ first: { _theme: "6", _tint: "0.39997558519241921" },
348
+ last: { _theme: "6", _tint: "0.39997558519241921" },
349
+ high: { _theme: "6" },
350
+ low: { _theme: "6" }
351
351
  },
352
352
  { # 4
353
- :series => { :_theme => "7", :_tint => "-0.499984740745262" },
354
- :negative => { :_theme => "8" },
355
- :markers => { :_theme => "7", :_tint => "-0.499984740745262" },
356
- :first => { :_theme => "7", :_tint => "0.39997558519241921" },
357
- :last => { :_theme => "7", :_tint => "0.39997558519241921" },
358
- :high => { :_theme => "7" },
359
- :low => { :_theme => "7" }
353
+ series: { _theme: "7", _tint: "-0.499984740745262" },
354
+ negative: { _theme: "8" },
355
+ markers: { _theme: "7", _tint: "-0.499984740745262" },
356
+ first: { _theme: "7", _tint: "0.39997558519241921" },
357
+ last: { _theme: "7", _tint: "0.39997558519241921" },
358
+ high: { _theme: "7" },
359
+ low: { _theme: "7" }
360
360
  },
361
361
  { # 5
362
- :series => { :_theme => "8", :_tint => "-0.499984740745262" },
363
- :negative => { :_theme => "9" },
364
- :markers => { :_theme => "8", :_tint => "-0.499984740745262" },
365
- :first => { :_theme => "8", :_tint => "0.39997558519241921" },
366
- :last => { :_theme => "8", :_tint => "0.39997558519241921" },
367
- :high => { :_theme => "8" },
368
- :low => { :_theme => "8" }
362
+ series: { _theme: "8", _tint: "-0.499984740745262" },
363
+ negative: { _theme: "9" },
364
+ markers: { _theme: "8", _tint: "-0.499984740745262" },
365
+ first: { _theme: "8", _tint: "0.39997558519241921" },
366
+ last: { _theme: "8", _tint: "0.39997558519241921" },
367
+ high: { _theme: "8" },
368
+ low: { _theme: "8" }
369
369
  },
370
370
  { # 6
371
- :series => { :_theme => "9", :_tint => "-0.499984740745262" },
372
- :negative => { :_theme => "4" },
373
- :markers => { :_theme => "9", :_tint => "-0.499984740745262" },
374
- :first => { :_theme => "9", :_tint => "0.39997558519241921" },
375
- :last => { :_theme => "9", :_tint => "0.39997558519241921" },
376
- :high => { :_theme => "9" },
377
- :low => { :_theme => "9" }
371
+ series: { _theme: "9", _tint: "-0.499984740745262" },
372
+ negative: { _theme: "4" },
373
+ markers: { _theme: "9", _tint: "-0.499984740745262" },
374
+ first: { _theme: "9", _tint: "0.39997558519241921" },
375
+ last: { _theme: "9", _tint: "0.39997558519241921" },
376
+ high: { _theme: "9" },
377
+ low: { _theme: "9" }
378
378
  },
379
379
  { # 7
380
- :series => { :_theme => "4", :_tint => "-0.249977111117893" },
381
- :negative => { :_theme => "5" },
382
- :markers => { :_theme => "5", :_tint => "-0.249977111117893" },
383
- :first => { :_theme => "5", :_tint => "-0.249977111117893" },
384
- :last => { :_theme => "5", :_tint => "-0.249977111117893" },
385
- :high => { :_theme => "5", :_tint => "-0.249977111117893" },
386
- :low => { :_theme => "5", :_tint => "-0.249977111117893" }
380
+ series: { _theme: "4", _tint: "-0.249977111117893" },
381
+ negative: { _theme: "5" },
382
+ markers: { _theme: "5", _tint: "-0.249977111117893" },
383
+ first: { _theme: "5", _tint: "-0.249977111117893" },
384
+ last: { _theme: "5", _tint: "-0.249977111117893" },
385
+ high: { _theme: "5", _tint: "-0.249977111117893" },
386
+ low: { _theme: "5", _tint: "-0.249977111117893" }
387
387
  },
388
388
  { # 8
389
- :series => { :_theme => "5", :_tint => "-0.249977111117893" },
390
- :negative => { :_theme => "6" },
391
- :markers => { :_theme => "6", :_tint => "-0.249977111117893" },
392
- :first => { :_theme => "6", :_tint => "-0.249977111117893" },
393
- :last => { :_theme => "6", :_tint => "-0.249977111117893" },
394
- :high => { :_theme => "6", :_tint => "-0.249977111117893" },
395
- :low => { :_theme => "6", :_tint => "-0.249977111117893" }
389
+ series: { _theme: "5", _tint: "-0.249977111117893" },
390
+ negative: { _theme: "6" },
391
+ markers: { _theme: "6", _tint: "-0.249977111117893" },
392
+ first: { _theme: "6", _tint: "-0.249977111117893" },
393
+ last: { _theme: "6", _tint: "-0.249977111117893" },
394
+ high: { _theme: "6", _tint: "-0.249977111117893" },
395
+ low: { _theme: "6", _tint: "-0.249977111117893" }
396
396
  },
397
397
  { # 9
398
- :series => { :_theme => "6", :_tint => "-0.249977111117893" },
399
- :negative => { :_theme => "7" },
400
- :markers => { :_theme => "7", :_tint => "-0.249977111117893" },
401
- :first => { :_theme => "7", :_tint => "-0.249977111117893" },
402
- :last => { :_theme => "7", :_tint => "-0.249977111117893" },
403
- :high => { :_theme => "7", :_tint => "-0.249977111117893" },
404
- :low => { :_theme => "7", :_tint => "-0.249977111117893" }
398
+ series: { _theme: "6", _tint: "-0.249977111117893" },
399
+ negative: { _theme: "7" },
400
+ markers: { _theme: "7", _tint: "-0.249977111117893" },
401
+ first: { _theme: "7", _tint: "-0.249977111117893" },
402
+ last: { _theme: "7", _tint: "-0.249977111117893" },
403
+ high: { _theme: "7", _tint: "-0.249977111117893" },
404
+ low: { _theme: "7", _tint: "-0.249977111117893" }
405
405
  },
406
406
  { # 10
407
- :series => { :_theme => "7", :_tint => "-0.249977111117893" },
408
- :negative => { :_theme => "8" },
409
- :markers => { :_theme => "8", :_tint => "-0.249977111117893" },
410
- :first => { :_theme => "8", :_tint => "-0.249977111117893" },
411
- :last => { :_theme => "8", :_tint => "-0.249977111117893" },
412
- :high => { :_theme => "8", :_tint => "-0.249977111117893" },
413
- :low => { :_theme => "8", :_tint => "-0.249977111117893" }
407
+ series: { _theme: "7", _tint: "-0.249977111117893" },
408
+ negative: { _theme: "8" },
409
+ markers: { _theme: "8", _tint: "-0.249977111117893" },
410
+ first: { _theme: "8", _tint: "-0.249977111117893" },
411
+ last: { _theme: "8", _tint: "-0.249977111117893" },
412
+ high: { _theme: "8", _tint: "-0.249977111117893" },
413
+ low: { _theme: "8", _tint: "-0.249977111117893" }
414
414
  },
415
415
  { # 11
416
- :series => { :_theme => "8", :_tint => "-0.249977111117893" },
417
- :negative => { :_theme => "9" },
418
- :markers => { :_theme => "9", :_tint => "-0.249977111117893" },
419
- :first => { :_theme => "9", :_tint => "-0.249977111117893" },
420
- :last => { :_theme => "9", :_tint => "-0.249977111117893" },
421
- :high => { :_theme => "9", :_tint => "-0.249977111117893" },
422
- :low => { :_theme => "9", :_tint => "-0.249977111117893" }
416
+ series: { _theme: "8", _tint: "-0.249977111117893" },
417
+ negative: { _theme: "9" },
418
+ markers: { _theme: "9", _tint: "-0.249977111117893" },
419
+ first: { _theme: "9", _tint: "-0.249977111117893" },
420
+ last: { _theme: "9", _tint: "-0.249977111117893" },
421
+ high: { _theme: "9", _tint: "-0.249977111117893" },
422
+ low: { _theme: "9", _tint: "-0.249977111117893" }
423
423
  },
424
424
  { # 12
425
- :series => { :_theme => "9", :_tint => "-0.249977111117893" },
426
- :negative => { :_theme => "4" },
427
- :markers => { :_theme => "4", :_tint => "-0.249977111117893" },
428
- :first => { :_theme => "4", :_tint => "-0.249977111117893" },
429
- :last => { :_theme => "4", :_tint => "-0.249977111117893" },
430
- :high => { :_theme => "4", :_tint => "-0.249977111117893" },
431
- :low => { :_theme => "4", :_tint => "-0.249977111117893" }
425
+ series: { _theme: "9", _tint: "-0.249977111117893" },
426
+ negative: { _theme: "4" },
427
+ markers: { _theme: "4", _tint: "-0.249977111117893" },
428
+ first: { _theme: "4", _tint: "-0.249977111117893" },
429
+ last: { _theme: "4", _tint: "-0.249977111117893" },
430
+ high: { _theme: "4", _tint: "-0.249977111117893" },
431
+ low: { _theme: "4", _tint: "-0.249977111117893" }
432
432
  },
433
433
  { # 13
434
- :series => { :_theme => "4" },
435
- :negative => { :_theme => "5" },
436
- :markers => { :_theme => "4", :_tint => "-0.249977111117893" },
437
- :first => { :_theme => "4", :_tint => "-0.249977111117893" },
438
- :last => { :_theme => "4", :_tint => "-0.249977111117893" },
439
- :high => { :_theme => "4", :_tint => "-0.249977111117893" },
440
- :low => { :_theme => "4", :_tint => "-0.249977111117893" }
434
+ series: { _theme: "4" },
435
+ negative: { _theme: "5" },
436
+ markers: { _theme: "4", _tint: "-0.249977111117893" },
437
+ first: { _theme: "4", _tint: "-0.249977111117893" },
438
+ last: { _theme: "4", _tint: "-0.249977111117893" },
439
+ high: { _theme: "4", _tint: "-0.249977111117893" },
440
+ low: { _theme: "4", _tint: "-0.249977111117893" }
441
441
  },
442
442
  { # 14
443
- :series => { :_theme => "5" },
444
- :negative => { :_theme => "6" },
445
- :markers => { :_theme => "5", :_tint => "-0.249977111117893" },
446
- :first => { :_theme => "5", :_tint => "-0.249977111117893" },
447
- :last => { :_theme => "5", :_tint => "-0.249977111117893" },
448
- :high => { :_theme => "5", :_tint => "-0.249977111117893" },
449
- :low => { :_theme => "5", :_tint => "-0.249977111117893" }
443
+ series: { _theme: "5" },
444
+ negative: { _theme: "6" },
445
+ markers: { _theme: "5", _tint: "-0.249977111117893" },
446
+ first: { _theme: "5", _tint: "-0.249977111117893" },
447
+ last: { _theme: "5", _tint: "-0.249977111117893" },
448
+ high: { _theme: "5", _tint: "-0.249977111117893" },
449
+ low: { _theme: "5", _tint: "-0.249977111117893" }
450
450
  },
451
451
  { # 15
452
- :series => { :_theme => "6" },
453
- :negative => { :_theme => "7" },
454
- :markers => { :_theme => "6", :_tint => "-0.249977111117893" },
455
- :first => { :_theme => "6", :_tint => "-0.249977111117893" },
456
- :last => { :_theme => "6", :_tint => "-0.249977111117893" },
457
- :high => { :_theme => "6", :_tint => "-0.249977111117893" },
458
- :low => { :_theme => "6", :_tint => "-0.249977111117893" }
452
+ series: { _theme: "6" },
453
+ negative: { _theme: "7" },
454
+ markers: { _theme: "6", _tint: "-0.249977111117893" },
455
+ first: { _theme: "6", _tint: "-0.249977111117893" },
456
+ last: { _theme: "6", _tint: "-0.249977111117893" },
457
+ high: { _theme: "6", _tint: "-0.249977111117893" },
458
+ low: { _theme: "6", _tint: "-0.249977111117893" }
459
459
  },
460
460
  { # 16
461
- :series => { :_theme => "7" },
462
- :negative => { :_theme => "8" },
463
- :markers => { :_theme => "7", :_tint => "-0.249977111117893" },
464
- :first => { :_theme => "7", :_tint => "-0.249977111117893" },
465
- :last => { :_theme => "7", :_tint => "-0.249977111117893" },
466
- :high => { :_theme => "7", :_tint => "-0.249977111117893" },
467
- :low => { :_theme => "7", :_tint => "-0.249977111117893" }
461
+ series: { _theme: "7" },
462
+ negative: { _theme: "8" },
463
+ markers: { _theme: "7", _tint: "-0.249977111117893" },
464
+ first: { _theme: "7", _tint: "-0.249977111117893" },
465
+ last: { _theme: "7", _tint: "-0.249977111117893" },
466
+ high: { _theme: "7", _tint: "-0.249977111117893" },
467
+ low: { _theme: "7", _tint: "-0.249977111117893" }
468
468
  },
469
469
  { # 17
470
- :series => { :_theme => "8" },
471
- :negative => { :_theme => "9" },
472
- :markers => { :_theme => "8", :_tint => "-0.249977111117893" },
473
- :first => { :_theme => "8", :_tint => "-0.249977111117893" },
474
- :last => { :_theme => "8", :_tint => "-0.249977111117893" },
475
- :high => { :_theme => "8", :_tint => "-0.249977111117893" },
476
- :low => { :_theme => "8", :_tint => "-0.249977111117893" }
470
+ series: { _theme: "8" },
471
+ negative: { _theme: "9" },
472
+ markers: { _theme: "8", _tint: "-0.249977111117893" },
473
+ first: { _theme: "8", _tint: "-0.249977111117893" },
474
+ last: { _theme: "8", _tint: "-0.249977111117893" },
475
+ high: { _theme: "8", _tint: "-0.249977111117893" },
476
+ low: { _theme: "8", _tint: "-0.249977111117893" }
477
477
  },
478
478
  { # 18
479
- :series => { :_theme => "9" },
480
- :negative => { :_theme => "4" },
481
- :markers => { :_theme => "9", :_tint => "-0.249977111117893" },
482
- :first => { :_theme => "9", :_tint => "-0.249977111117893" },
483
- :last => { :_theme => "9", :_tint => "-0.249977111117893" },
484
- :high => { :_theme => "9", :_tint => "-0.249977111117893" },
485
- :low => { :_theme => "9", :_tint => "-0.249977111117893" }
479
+ series: { _theme: "9" },
480
+ negative: { _theme: "4" },
481
+ markers: { _theme: "9", _tint: "-0.249977111117893" },
482
+ first: { _theme: "9", _tint: "-0.249977111117893" },
483
+ last: { _theme: "9", _tint: "-0.249977111117893" },
484
+ high: { _theme: "9", _tint: "-0.249977111117893" },
485
+ low: { _theme: "9", _tint: "-0.249977111117893" }
486
486
  },
487
487
  { # 19
488
- :series => { :_theme => "4", :_tint => "0.39997558519241921" },
489
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
490
- :markers => { :_theme => "4", :_tint => "0.79998168889431442" },
491
- :first => { :_theme => "4", :_tint => "-0.249977111117893" },
492
- :last => { :_theme => "4", :_tint => "-0.249977111117893" },
493
- :high => { :_theme => "4", :_tint => "-0.499984740745262" },
494
- :low => { :_theme => "4", :_tint => "-0.499984740745262" }
488
+ series: { _theme: "4", _tint: "0.39997558519241921" },
489
+ negative: { _theme: "0", _tint: "-0.499984740745262" },
490
+ markers: { _theme: "4", _tint: "0.79998168889431442" },
491
+ first: { _theme: "4", _tint: "-0.249977111117893" },
492
+ last: { _theme: "4", _tint: "-0.249977111117893" },
493
+ high: { _theme: "4", _tint: "-0.499984740745262" },
494
+ low: { _theme: "4", _tint: "-0.499984740745262" }
495
495
  },
496
496
  { # 20
497
- :series => { :_theme => "5", :_tint => "0.39997558519241921" },
498
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
499
- :markers => { :_theme => "5", :_tint => "0.79998168889431442" },
500
- :first => { :_theme => "5", :_tint => "-0.249977111117893" },
501
- :last => { :_theme => "5", :_tint => "-0.249977111117893" },
502
- :high => { :_theme => "5", :_tint => "-0.499984740745262" },
503
- :low => { :_theme => "5", :_tint => "-0.499984740745262" }
497
+ series: { _theme: "5", _tint: "0.39997558519241921" },
498
+ negative: { _theme: "0", _tint: "-0.499984740745262" },
499
+ markers: { _theme: "5", _tint: "0.79998168889431442" },
500
+ first: { _theme: "5", _tint: "-0.249977111117893" },
501
+ last: { _theme: "5", _tint: "-0.249977111117893" },
502
+ high: { _theme: "5", _tint: "-0.499984740745262" },
503
+ low: { _theme: "5", _tint: "-0.499984740745262" }
504
504
  },
505
505
  { # 21
506
- :series => { :_theme => "6", :_tint => "0.39997558519241921" },
507
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
508
- :markers => { :_theme => "6", :_tint => "0.79998168889431442" },
509
- :first => { :_theme => "6", :_tint => "-0.249977111117893" },
510
- :last => { :_theme => "6", :_tint => "-0.249977111117893" },
511
- :high => { :_theme => "6", :_tint => "-0.499984740745262" },
512
- :low => { :_theme => "6", :_tint => "-0.499984740745262" }
506
+ series: { _theme: "6", _tint: "0.39997558519241921" },
507
+ negative: { _theme: "0", _tint: "-0.499984740745262" },
508
+ markers: { _theme: "6", _tint: "0.79998168889431442" },
509
+ first: { _theme: "6", _tint: "-0.249977111117893" },
510
+ last: { _theme: "6", _tint: "-0.249977111117893" },
511
+ high: { _theme: "6", _tint: "-0.499984740745262" },
512
+ low: { _theme: "6", _tint: "-0.499984740745262" }
513
513
  },
514
514
  { # 22
515
- :series => { :_theme => "7", :_tint => "0.39997558519241921" },
516
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
517
- :markers => { :_theme => "7", :_tint => "0.79998168889431442" },
518
- :first => { :_theme => "7", :_tint => "-0.249977111117893" },
519
- :last => { :_theme => "7", :_tint => "-0.249977111117893" },
520
- :high => { :_theme => "7", :_tint => "-0.499984740745262" },
521
- :low => { :_theme => "7", :_tint => "-0.499984740745262" }
515
+ series: { _theme: "7", _tint: "0.39997558519241921" },
516
+ negative: { _theme: "0", _tint: "-0.499984740745262" },
517
+ markers: { _theme: "7", _tint: "0.79998168889431442" },
518
+ first: { _theme: "7", _tint: "-0.249977111117893" },
519
+ last: { _theme: "7", _tint: "-0.249977111117893" },
520
+ high: { _theme: "7", _tint: "-0.499984740745262" },
521
+ low: { _theme: "7", _tint: "-0.499984740745262" }
522
522
  },
523
523
  { # 23
524
- :series => { :_theme => "8", :_tint => "0.39997558519241921" },
525
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
526
- :markers => { :_theme => "8", :_tint => "0.79998168889431442" },
527
- :first => { :_theme => "8", :_tint => "-0.249977111117893" },
528
- :last => { :_theme => "8", :_tint => "-0.249977111117893" },
529
- :high => { :_theme => "8", :_tint => "-0.499984740745262" },
530
- :low => { :_theme => "8", :_tint => "-0.499984740745262" }
524
+ series: { _theme: "8", _tint: "0.39997558519241921" },
525
+ negative: { _theme: "0", _tint: "-0.499984740745262" },
526
+ markers: { _theme: "8", _tint: "0.79998168889431442" },
527
+ first: { _theme: "8", _tint: "-0.249977111117893" },
528
+ last: { _theme: "8", _tint: "-0.249977111117893" },
529
+ high: { _theme: "8", _tint: "-0.499984740745262" },
530
+ low: { _theme: "8", _tint: "-0.499984740745262" }
531
531
  },
532
532
  { # 24
533
- :series => { :_theme => "9", :_tint => "0.39997558519241921" },
534
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
535
- :markers => { :_theme => "9", :_tint => "0.79998168889431442" },
536
- :first => { :_theme => "9", :_tint => "-0.249977111117893" },
537
- :last => { :_theme => "9", :_tint => "-0.249977111117893" },
538
- :high => { :_theme => "9", :_tint => "-0.499984740745262" },
539
- :low => { :_theme => "9", :_tint => "-0.499984740745262" }
533
+ series: { _theme: "9", _tint: "0.39997558519241921" },
534
+ negative: { _theme: "0", _tint: "-0.499984740745262" },
535
+ markers: { _theme: "9", _tint: "0.79998168889431442" },
536
+ first: { _theme: "9", _tint: "-0.249977111117893" },
537
+ last: { _theme: "9", _tint: "-0.249977111117893" },
538
+ high: { _theme: "9", _tint: "-0.499984740745262" },
539
+ low: { _theme: "9", _tint: "-0.499984740745262" }
540
540
  },
541
541
  { # 25
542
- :series => { :_theme => "1", :_tint => "0.499984740745262" },
543
- :negative => { :_theme => "1", :_tint => "0.249977111117893" },
544
- :markers => { :_theme => "1", :_tint => "0.249977111117893" },
545
- :first => { :_theme => "1", :_tint => "0.249977111117893" },
546
- :last => { :_theme => "1", :_tint => "0.249977111117893" },
547
- :high => { :_theme => "1", :_tint => "0.249977111117893" },
548
- :low => { :_theme => "1", :_tint => "0.249977111117893" }
542
+ series: { _theme: "1", _tint: "0.499984740745262" },
543
+ negative: { _theme: "1", _tint: "0.249977111117893" },
544
+ markers: { _theme: "1", _tint: "0.249977111117893" },
545
+ first: { _theme: "1", _tint: "0.249977111117893" },
546
+ last: { _theme: "1", _tint: "0.249977111117893" },
547
+ high: { _theme: "1", _tint: "0.249977111117893" },
548
+ low: { _theme: "1", _tint: "0.249977111117893" }
549
549
  },
550
550
  { # 26
551
- :series => { :_theme => "1", :_tint => "0.34998626667073579" },
552
- :negative => { :_theme => "0", :_tint => "-0.249977111117893" },
553
- :markers => { :_theme => "0", :_tint => "-0.249977111117893" },
554
- :first => { :_theme => "0", :_tint => "-0.249977111117893" },
555
- :last => { :_theme => "0", :_tint => "-0.249977111117893" },
556
- :high => { :_theme => "0", :_tint => "-0.249977111117893" },
557
- :low => { :_theme => "0", :_tint => "-0.249977111117893" }
551
+ series: { _theme: "1", _tint: "0.34998626667073579" },
552
+ negative: { _theme: "0", _tint: "-0.249977111117893" },
553
+ markers: { _theme: "0", _tint: "-0.249977111117893" },
554
+ first: { _theme: "0", _tint: "-0.249977111117893" },
555
+ last: { _theme: "0", _tint: "-0.249977111117893" },
556
+ high: { _theme: "0", _tint: "-0.249977111117893" },
557
+ low: { _theme: "0", _tint: "-0.249977111117893" }
558
558
  },
559
559
  { # 27
560
- :series => { :_rgb => "FF323232" },
561
- :negative => { :_rgb => "FFD00000" },
562
- :markers => { :_rgb => "FFD00000" },
563
- :first => { :_rgb => "FFD00000" },
564
- :last => { :_rgb => "FFD00000" },
565
- :high => { :_rgb => "FFD00000" },
566
- :low => { :_rgb => "FFD00000" }
560
+ series: { _rgb: "FF323232" },
561
+ negative: { _rgb: "FFD00000" },
562
+ markers: { _rgb: "FFD00000" },
563
+ first: { _rgb: "FFD00000" },
564
+ last: { _rgb: "FFD00000" },
565
+ high: { _rgb: "FFD00000" },
566
+ low: { _rgb: "FFD00000" }
567
567
  },
568
568
  { # 28
569
- :series => { :_rgb => "FF000000" },
570
- :negative => { :_rgb => "FF0070C0" },
571
- :markers => { :_rgb => "FF0070C0" },
572
- :first => { :_rgb => "FF0070C0" },
573
- :last => { :_rgb => "FF0070C0" },
574
- :high => { :_rgb => "FF0070C0" },
575
- :low => { :_rgb => "FF0070C0" }
569
+ series: { _rgb: "FF000000" },
570
+ negative: { _rgb: "FF0070C0" },
571
+ markers: { _rgb: "FF0070C0" },
572
+ first: { _rgb: "FF0070C0" },
573
+ last: { _rgb: "FF0070C0" },
574
+ high: { _rgb: "FF0070C0" },
575
+ low: { _rgb: "FF0070C0" }
576
576
  },
577
577
  { # 29
578
- :series => { :_rgb => "FF376092" },
579
- :negative => { :_rgb => "FFD00000" },
580
- :markers => { :_rgb => "FFD00000" },
581
- :first => { :_rgb => "FFD00000" },
582
- :last => { :_rgb => "FFD00000" },
583
- :high => { :_rgb => "FFD00000" },
584
- :low => { :_rgb => "FFD00000" }
578
+ series: { _rgb: "FF376092" },
579
+ negative: { _rgb: "FFD00000" },
580
+ markers: { _rgb: "FFD00000" },
581
+ first: { _rgb: "FFD00000" },
582
+ last: { _rgb: "FFD00000" },
583
+ high: { _rgb: "FFD00000" },
584
+ low: { _rgb: "FFD00000" }
585
585
  },
586
586
  { # 30
587
- :series => { :_rgb => "FF0070C0" },
588
- :negative => { :_rgb => "FF000000" },
589
- :markers => { :_rgb => "FF000000" },
590
- :first => { :_rgb => "FF000000" },
591
- :last => { :_rgb => "FF000000" },
592
- :high => { :_rgb => "FF000000" },
593
- :low => { :_rgb => "FF000000" }
587
+ series: { _rgb: "FF0070C0" },
588
+ negative: { _rgb: "FF000000" },
589
+ markers: { _rgb: "FF000000" },
590
+ first: { _rgb: "FF000000" },
591
+ last: { _rgb: "FF000000" },
592
+ high: { _rgb: "FF000000" },
593
+ low: { _rgb: "FF000000" }
594
594
  },
595
595
  { # 31
596
- :series => { :_rgb => "FF5F5F5F" },
597
- :negative => { :_rgb => "FFFFB620" },
598
- :markers => { :_rgb => "FFD70077" },
599
- :first => { :_rgb => "FF5687C2" },
600
- :last => { :_rgb => "FF359CEB" },
601
- :high => { :_rgb => "FF56BE79" },
602
- :low => { :_rgb => "FFFF5055" }
596
+ series: { _rgb: "FF5F5F5F" },
597
+ negative: { _rgb: "FFFFB620" },
598
+ markers: { _rgb: "FFD70077" },
599
+ first: { _rgb: "FF5687C2" },
600
+ last: { _rgb: "FF359CEB" },
601
+ high: { _rgb: "FF56BE79" },
602
+ low: { _rgb: "FFFF5055" }
603
603
  },
604
604
  { # 32
605
- :series => { :_rgb => "FF5687C2" },
606
- :negative => { :_rgb => "FFFFB620" },
607
- :markers => { :_rgb => "FFD70077" },
608
- :first => { :_rgb => "FF777777" },
609
- :last => { :_rgb => "FF359CEB" },
610
- :high => { :_rgb => "FF56BE79" },
611
- :low => { :_rgb => "FFFF5055" }
605
+ series: { _rgb: "FF5687C2" },
606
+ negative: { _rgb: "FFFFB620" },
607
+ markers: { _rgb: "FFD70077" },
608
+ first: { _rgb: "FF777777" },
609
+ last: { _rgb: "FF359CEB" },
610
+ high: { _rgb: "FF56BE79" },
611
+ low: { _rgb: "FFFF5055" }
612
612
  },
613
613
  { # 33
614
- :series => { :_rgb => "FFC6EFCE" },
615
- :negative => { :_rgb => "FFFFC7CE" },
616
- :markers => { :_rgb => "FF8CADD6" },
617
- :first => { :_rgb => "FFFFDC47" },
618
- :last => { :_rgb => "FFFFEB9C" },
619
- :high => { :_rgb => "FF60D276" },
620
- :low => { :_rgb => "FFFF5367" }
614
+ series: { _rgb: "FFC6EFCE" },
615
+ negative: { _rgb: "FFFFC7CE" },
616
+ markers: { _rgb: "FF8CADD6" },
617
+ first: { _rgb: "FFFFDC47" },
618
+ last: { _rgb: "FFFFEB9C" },
619
+ high: { _rgb: "FF60D276" },
620
+ low: { _rgb: "FFFF5367" }
621
621
  },
622
622
  { # 34
623
- :series => { :_rgb => "FF00B050" },
624
- :negative => { :_rgb => "FFFF0000" },
625
- :markers => { :_rgb => "FF0070C0" },
626
- :first => { :_rgb => "FFFFC000" },
627
- :last => { :_rgb => "FFFFC000" },
628
- :high => { :_rgb => "FF00B050" },
629
- :low => { :_rgb => "FFFF0000" }
623
+ series: { _rgb: "FF00B050" },
624
+ negative: { _rgb: "FFFF0000" },
625
+ markers: { _rgb: "FF0070C0" },
626
+ first: { _rgb: "FFFFC000" },
627
+ last: { _rgb: "FFFFC000" },
628
+ high: { _rgb: "FF00B050" },
629
+ low: { _rgb: "FFFF0000" }
630
630
  },
631
631
  { # 35
632
- :series => { :_theme => "3" },
633
- :negative => { :_theme => "9" },
634
- :markers => { :_theme => "8" },
635
- :first => { :_theme => "4" },
636
- :last => { :_theme => "5" },
637
- :high => { :_theme => "6" },
638
- :low => { :_theme => "7" }
632
+ series: { _theme: "3" },
633
+ negative: { _theme: "9" },
634
+ markers: { _theme: "8" },
635
+ first: { _theme: "4" },
636
+ last: { _theme: "5" },
637
+ high: { _theme: "6" },
638
+ low: { _theme: "7" }
639
639
  },
640
640
  { # 36
641
- :series => { :_theme => "1" },
642
- :negative => { :_theme => "9" },
643
- :markers => { :_theme => "8" },
644
- :first => { :_theme => "4" },
645
- :last => { :_theme => "5" },
646
- :high => { :_theme => "6" },
647
- :low => { :_theme => "7" }
641
+ series: { _theme: "1" },
642
+ negative: { _theme: "9" },
643
+ markers: { _theme: "8" },
644
+ first: { _theme: "4" },
645
+ last: { _theme: "5" },
646
+ high: { _theme: "6" },
647
+ low: { _theme: "7" }
648
648
  }
649
649
  ]
650
650
  end