write_xlsx 1.07.0 → 1.09.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/Changes +40 -0
  3. data/README.md +1 -1
  4. data/examples/background.rb +19 -0
  5. data/examples/ignore_errors.rb +39 -0
  6. data/ignore_errors.xlsx +0 -0
  7. data/lib/write_xlsx/chart/axis.rb +3 -3
  8. data/lib/write_xlsx/chart/scatter.rb +0 -15
  9. data/lib/write_xlsx/chart/series.rb +1 -1
  10. data/lib/write_xlsx/chart.rb +31 -33
  11. data/lib/write_xlsx/chartsheet.rb +3 -3
  12. data/lib/write_xlsx/drawing.rb +118 -55
  13. data/lib/write_xlsx/format.rb +11 -179
  14. data/lib/write_xlsx/package/app.rb +5 -5
  15. data/lib/write_xlsx/package/button.rb +8 -8
  16. data/lib/write_xlsx/package/comments.rb +8 -8
  17. data/lib/write_xlsx/package/conditional_format.rb +2 -8
  18. data/lib/write_xlsx/package/content_types.rb +18 -9
  19. data/lib/write_xlsx/package/core.rb +5 -5
  20. data/lib/write_xlsx/package/custom.rb +2 -2
  21. data/lib/write_xlsx/package/metadata.rb +159 -0
  22. data/lib/write_xlsx/package/packager.rb +22 -0
  23. data/lib/write_xlsx/package/shared_strings.rb +6 -6
  24. data/lib/write_xlsx/package/styles.rb +27 -14
  25. data/lib/write_xlsx/package/table.rb +31 -23
  26. data/lib/write_xlsx/package/theme.rb +1 -1
  27. data/lib/write_xlsx/package/vml.rb +43 -43
  28. data/lib/write_xlsx/shape.rb +17 -15
  29. data/lib/write_xlsx/sparkline.rb +340 -340
  30. data/lib/write_xlsx/utility.rb +9 -24
  31. data/lib/write_xlsx/version.rb +1 -1
  32. data/lib/write_xlsx/workbook.rb +193 -643
  33. data/lib/write_xlsx/worksheet/cell_data.rb +25 -3
  34. data/lib/write_xlsx/worksheet/data_validation.rb +21 -26
  35. data/lib/write_xlsx/worksheet/hyperlink.rb +4 -4
  36. data/lib/write_xlsx/worksheet/page_setup.rb +12 -12
  37. data/lib/write_xlsx/worksheet.rb +461 -4233
  38. data/test/drawing/{test_write_ext.rb → test_write_xdr_ext.rb} +2 -2
  39. data/test/perl_output/background.xlsx +0 -0
  40. data/test/perl_output/ignore_errors.xlsx +0 -0
  41. data/test/regression/images/logo.gif +0 -0
  42. data/test/regression/images/logo.jpg +0 -0
  43. data/test/regression/images/red.gif +0 -0
  44. data/test/regression/test_background01.rb +23 -0
  45. data/test/regression/test_background02.rb +23 -0
  46. data/test/regression/test_background03.rb +24 -0
  47. data/test/regression/test_background04.rb +25 -0
  48. data/test/regression/test_background05.rb +25 -0
  49. data/test/regression/test_background06.rb +31 -0
  50. data/test/regression/test_background07.rb +37 -0
  51. data/test/regression/test_chart_axis47.rb +52 -0
  52. data/test/regression/test_chart_axis48.rb +53 -0
  53. data/test/regression/test_chart_crossing01.rb +1 -1
  54. data/test/regression/test_chart_crossing05.rb +46 -0
  55. data/test/regression/test_chart_crossing06.rb +46 -0
  56. data/test/regression/test_chart_data_labels48.rb +55 -0
  57. data/test/regression/test_chart_data_labels49.rb +55 -0
  58. data/test/regression/test_chart_data_labels50.rb +57 -0
  59. data/test/regression/test_dynamic_array01.rb +25 -0
  60. data/test/regression/test_format16.rb +24 -0
  61. data/test/regression/test_format17.rb +24 -0
  62. data/test/regression/test_header04.rb +30 -0
  63. data/test/regression/test_hyperlink50.rb +27 -0
  64. data/test/regression/test_hyperlink51.rb +27 -0
  65. data/test/regression/test_ignore_error01.rb +23 -0
  66. data/test/regression/test_ignore_error02.rb +24 -0
  67. data/test/regression/test_ignore_error03.rb +26 -0
  68. data/test/regression/test_ignore_error04.rb +26 -0
  69. data/test/regression/test_ignore_error05.rb +32 -0
  70. data/test/regression/test_ignore_error06.rb +32 -0
  71. data/test/regression/test_image52.rb +26 -0
  72. data/test/regression/test_image53.rb +26 -0
  73. data/test/regression/test_image54.rb +26 -0
  74. data/test/regression/test_image55.rb +27 -0
  75. data/test/regression/test_image56.rb +23 -0
  76. data/test/regression/test_image57.rb +23 -0
  77. data/test/regression/test_protect04.rb +32 -0
  78. data/test/regression/test_protect05.rb +35 -0
  79. data/test/regression/test_protect06.rb +35 -0
  80. data/test/regression/test_protect07.rb +23 -0
  81. data/test/regression/test_set_column10.rb +55 -0
  82. data/test/regression/test_set_column11.rb +48 -0
  83. data/test/regression/test_set_row01.rb +35 -0
  84. data/test/regression/test_set_row02.rb +35 -0
  85. data/test/regression/test_set_row03.rb +35 -0
  86. data/test/regression/test_set_row04.rb +35 -0
  87. data/test/regression/test_table26.rb +38 -0
  88. data/test/regression/xlsx_files/background01.xlsx +0 -0
  89. data/test/regression/xlsx_files/background02.xlsx +0 -0
  90. data/test/regression/xlsx_files/background03.xlsx +0 -0
  91. data/test/regression/xlsx_files/background04.xlsx +0 -0
  92. data/test/regression/xlsx_files/background05.xlsx +0 -0
  93. data/test/regression/xlsx_files/background06.xlsx +0 -0
  94. data/test/regression/xlsx_files/background07.xlsx +0 -0
  95. data/test/regression/xlsx_files/chart_axis47.xlsx +0 -0
  96. data/test/regression/xlsx_files/chart_axis48.xlsx +0 -0
  97. data/test/regression/xlsx_files/chart_crossing05.xlsx +0 -0
  98. data/test/regression/xlsx_files/chart_crossing06.xlsx +0 -0
  99. data/test/regression/xlsx_files/chart_data_labels48.xlsx +0 -0
  100. data/test/regression/xlsx_files/chart_data_labels49.xlsx +0 -0
  101. data/test/regression/xlsx_files/chart_data_labels50.xlsx +0 -0
  102. data/test/regression/xlsx_files/dynamic_array01.xlsx +0 -0
  103. data/test/regression/xlsx_files/format16.xlsx +0 -0
  104. data/test/regression/xlsx_files/format17.xlsx +0 -0
  105. data/test/regression/xlsx_files/header04.xlsx +0 -0
  106. data/test/regression/xlsx_files/hyperlink50.xlsx +0 -0
  107. data/test/regression/xlsx_files/hyperlink51.xlsx +0 -0
  108. data/test/regression/xlsx_files/ignore_error01.xlsx +0 -0
  109. data/test/regression/xlsx_files/ignore_error02.xlsx +0 -0
  110. data/test/regression/xlsx_files/ignore_error03.xlsx +0 -0
  111. data/test/regression/xlsx_files/ignore_error04.xlsx +0 -0
  112. data/test/regression/xlsx_files/ignore_error05.xlsx +0 -0
  113. data/test/regression/xlsx_files/ignore_error06.xlsx +0 -0
  114. data/test/regression/xlsx_files/image52.xlsx +0 -0
  115. data/test/regression/xlsx_files/image53.xlsx +0 -0
  116. data/test/regression/xlsx_files/image54.xlsx +0 -0
  117. data/test/regression/xlsx_files/image55.xlsx +0 -0
  118. data/test/regression/xlsx_files/image56.xlsx +0 -0
  119. data/test/regression/xlsx_files/image57.xlsx +0 -0
  120. data/test/regression/xlsx_files/protect04.xlsx +0 -0
  121. data/test/regression/xlsx_files/protect05.xlsx +0 -0
  122. data/test/regression/xlsx_files/protect06.xlsx +0 -0
  123. data/test/regression/xlsx_files/protect07.xlsx +0 -0
  124. data/test/regression/xlsx_files/set_row01.xlsx +0 -0
  125. data/test/regression/xlsx_files/set_row03.xlsx +0 -0
  126. data/test/regression/xlsx_files/table26.xlsx +0 -0
  127. data/test/test_example_match.rb +43 -0
  128. data/test/utility/test_range.rb +20 -0
  129. data/test/worksheet/test_pixels_to_row_col.rb +46 -0
  130. metadata +190 -8
@@ -72,13 +72,13 @@ module Writexlsx
72
72
 
73
73
  # Map empty cells options.
74
74
  @empty = case param[:empty_cells] || ''
75
- when 'zero'
76
- 0
77
- when 'connect'
78
- 'span'
79
- else
80
- 'gap'
81
- end
75
+ when 'zero'
76
+ 0
77
+ when 'connect'
78
+ 'span'
79
+ else
80
+ 'gap'
81
+ end
82
82
 
83
83
  # Map the date axis range.
84
84
  date_range = param[:date_axis]
@@ -321,339 +321,339 @@ module Writexlsx
321
321
 
322
322
  def spark_styles # :nodoc:
323
323
  [
324
- { # 0
325
- :series => { :_theme => "4", :_tint => "-0.499984740745262" },
326
- :negative => { :_theme => "5" },
327
- :markers => { :_theme => "4", :_tint => "-0.499984740745262" },
328
- :first => { :_theme => "4", :_tint => "0.39997558519241921" },
329
- :last => { :_theme => "4", :_tint => "0.39997558519241921" },
330
- :high => { :_theme => "4" },
331
- :low => { :_theme => "4" }
332
- },
333
- { # 1
334
- :series => { :_theme => "4", :_tint => "-0.499984740745262" },
335
- :negative => { :_theme => "5" },
336
- :markers => { :_theme => "4", :_tint => "-0.499984740745262" },
337
- :first => { :_theme => "4", :_tint => "0.39997558519241921" },
338
- :last => { :_theme => "4", :_tint => "0.39997558519241921" },
339
- :high => { :_theme => "4" },
340
- :low => { :_theme => "4" }
341
- },
342
- { # 2
343
- :series => { :_theme => "5", :_tint => "-0.499984740745262" },
344
- :negative => { :_theme => "6" },
345
- :markers => { :_theme => "5", :_tint => "-0.499984740745262" },
346
- :first => { :_theme => "5", :_tint => "0.39997558519241921" },
347
- :last => { :_theme => "5", :_tint => "0.39997558519241921" },
348
- :high => { :_theme => "5" },
349
- :low => { :_theme => "5" }
350
- },
351
- { # 3
352
- :series => { :_theme => "6", :_tint => "-0.499984740745262" },
353
- :negative => { :_theme => "7" },
354
- :markers => { :_theme => "6", :_tint => "-0.499984740745262" },
355
- :first => { :_theme => "6", :_tint => "0.39997558519241921" },
356
- :last => { :_theme => "6", :_tint => "0.39997558519241921" },
357
- :high => { :_theme => "6" },
358
- :low => { :_theme => "6" }
359
- },
360
- { # 4
361
- :series => { :_theme => "7", :_tint => "-0.499984740745262" },
362
- :negative => { :_theme => "8" },
363
- :markers => { :_theme => "7", :_tint => "-0.499984740745262" },
364
- :first => { :_theme => "7", :_tint => "0.39997558519241921" },
365
- :last => { :_theme => "7", :_tint => "0.39997558519241921" },
366
- :high => { :_theme => "7" },
367
- :low => { :_theme => "7" }
368
- },
369
- { # 5
370
- :series => { :_theme => "8", :_tint => "-0.499984740745262" },
371
- :negative => { :_theme => "9" },
372
- :markers => { :_theme => "8", :_tint => "-0.499984740745262" },
373
- :first => { :_theme => "8", :_tint => "0.39997558519241921" },
374
- :last => { :_theme => "8", :_tint => "0.39997558519241921" },
375
- :high => { :_theme => "8" },
376
- :low => { :_theme => "8" }
377
- },
378
- { # 6
379
- :series => { :_theme => "9", :_tint => "-0.499984740745262" },
380
- :negative => { :_theme => "4" },
381
- :markers => { :_theme => "9", :_tint => "-0.499984740745262" },
382
- :first => { :_theme => "9", :_tint => "0.39997558519241921" },
383
- :last => { :_theme => "9", :_tint => "0.39997558519241921" },
384
- :high => { :_theme => "9" },
385
- :low => { :_theme => "9" }
386
- },
387
- { # 7
388
- :series => { :_theme => "4", :_tint => "-0.249977111117893" },
389
- :negative => { :_theme => "5" },
390
- :markers => { :_theme => "5", :_tint => "-0.249977111117893" },
391
- :first => { :_theme => "5", :_tint => "-0.249977111117893" },
392
- :last => { :_theme => "5", :_tint => "-0.249977111117893" },
393
- :high => { :_theme => "5", :_tint => "-0.249977111117893" },
394
- :low => { :_theme => "5", :_tint => "-0.249977111117893" }
395
- },
396
- { # 8
397
- :series => { :_theme => "5", :_tint => "-0.249977111117893" },
398
- :negative => { :_theme => "6" },
399
- :markers => { :_theme => "6", :_tint => "-0.249977111117893" },
400
- :first => { :_theme => "6", :_tint => "-0.249977111117893" },
401
- :last => { :_theme => "6", :_tint => "-0.249977111117893" },
402
- :high => { :_theme => "6", :_tint => "-0.249977111117893" },
403
- :low => { :_theme => "6", :_tint => "-0.249977111117893" }
404
- },
405
- { # 9
406
- :series => { :_theme => "6", :_tint => "-0.249977111117893" },
407
- :negative => { :_theme => "7" },
408
- :markers => { :_theme => "7", :_tint => "-0.249977111117893" },
409
- :first => { :_theme => "7", :_tint => "-0.249977111117893" },
410
- :last => { :_theme => "7", :_tint => "-0.249977111117893" },
411
- :high => { :_theme => "7", :_tint => "-0.249977111117893" },
412
- :low => { :_theme => "7", :_tint => "-0.249977111117893" }
413
- },
414
- { # 10
415
- :series => { :_theme => "7", :_tint => "-0.249977111117893" },
416
- :negative => { :_theme => "8" },
417
- :markers => { :_theme => "8", :_tint => "-0.249977111117893" },
418
- :first => { :_theme => "8", :_tint => "-0.249977111117893" },
419
- :last => { :_theme => "8", :_tint => "-0.249977111117893" },
420
- :high => { :_theme => "8", :_tint => "-0.249977111117893" },
421
- :low => { :_theme => "8", :_tint => "-0.249977111117893" }
422
- },
423
- { # 11
424
- :series => { :_theme => "8", :_tint => "-0.249977111117893" },
425
- :negative => { :_theme => "9" },
426
- :markers => { :_theme => "9", :_tint => "-0.249977111117893" },
427
- :first => { :_theme => "9", :_tint => "-0.249977111117893" },
428
- :last => { :_theme => "9", :_tint => "-0.249977111117893" },
429
- :high => { :_theme => "9", :_tint => "-0.249977111117893" },
430
- :low => { :_theme => "9", :_tint => "-0.249977111117893" }
431
- },
432
- { # 12
433
- :series => { :_theme => "9", :_tint => "-0.249977111117893" },
434
- :negative => { :_theme => "4" },
435
- :markers => { :_theme => "4", :_tint => "-0.249977111117893" },
436
- :first => { :_theme => "4", :_tint => "-0.249977111117893" },
437
- :last => { :_theme => "4", :_tint => "-0.249977111117893" },
438
- :high => { :_theme => "4", :_tint => "-0.249977111117893" },
439
- :low => { :_theme => "4", :_tint => "-0.249977111117893" }
440
- },
441
- { # 13
442
- :series => { :_theme => "4" },
443
- :negative => { :_theme => "5" },
444
- :markers => { :_theme => "4", :_tint => "-0.249977111117893" },
445
- :first => { :_theme => "4", :_tint => "-0.249977111117893" },
446
- :last => { :_theme => "4", :_tint => "-0.249977111117893" },
447
- :high => { :_theme => "4", :_tint => "-0.249977111117893" },
448
- :low => { :_theme => "4", :_tint => "-0.249977111117893" }
449
- },
450
- { # 14
451
- :series => { :_theme => "5" },
452
- :negative => { :_theme => "6" },
453
- :markers => { :_theme => "5", :_tint => "-0.249977111117893" },
454
- :first => { :_theme => "5", :_tint => "-0.249977111117893" },
455
- :last => { :_theme => "5", :_tint => "-0.249977111117893" },
456
- :high => { :_theme => "5", :_tint => "-0.249977111117893" },
457
- :low => { :_theme => "5", :_tint => "-0.249977111117893" }
458
- },
459
- { # 15
460
- :series => { :_theme => "6" },
461
- :negative => { :_theme => "7" },
462
- :markers => { :_theme => "6", :_tint => "-0.249977111117893" },
463
- :first => { :_theme => "6", :_tint => "-0.249977111117893" },
464
- :last => { :_theme => "6", :_tint => "-0.249977111117893" },
465
- :high => { :_theme => "6", :_tint => "-0.249977111117893" },
466
- :low => { :_theme => "6", :_tint => "-0.249977111117893" }
467
- },
468
- { # 16
469
- :series => { :_theme => "7" },
470
- :negative => { :_theme => "8" },
471
- :markers => { :_theme => "7", :_tint => "-0.249977111117893" },
472
- :first => { :_theme => "7", :_tint => "-0.249977111117893" },
473
- :last => { :_theme => "7", :_tint => "-0.249977111117893" },
474
- :high => { :_theme => "7", :_tint => "-0.249977111117893" },
475
- :low => { :_theme => "7", :_tint => "-0.249977111117893" }
476
- },
477
- { # 17
478
- :series => { :_theme => "8" },
479
- :negative => { :_theme => "9" },
480
- :markers => { :_theme => "8", :_tint => "-0.249977111117893" },
481
- :first => { :_theme => "8", :_tint => "-0.249977111117893" },
482
- :last => { :_theme => "8", :_tint => "-0.249977111117893" },
483
- :high => { :_theme => "8", :_tint => "-0.249977111117893" },
484
- :low => { :_theme => "8", :_tint => "-0.249977111117893" }
485
- },
486
- { # 18
487
- :series => { :_theme => "9" },
488
- :negative => { :_theme => "4" },
489
- :markers => { :_theme => "9", :_tint => "-0.249977111117893" },
490
- :first => { :_theme => "9", :_tint => "-0.249977111117893" },
491
- :last => { :_theme => "9", :_tint => "-0.249977111117893" },
492
- :high => { :_theme => "9", :_tint => "-0.249977111117893" },
493
- :low => { :_theme => "9", :_tint => "-0.249977111117893" }
494
- },
495
- { # 19
496
- :series => { :_theme => "4", :_tint => "0.39997558519241921" },
497
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
498
- :markers => { :_theme => "4", :_tint => "0.79998168889431442" },
499
- :first => { :_theme => "4", :_tint => "-0.249977111117893" },
500
- :last => { :_theme => "4", :_tint => "-0.249977111117893" },
501
- :high => { :_theme => "4", :_tint => "-0.499984740745262" },
502
- :low => { :_theme => "4", :_tint => "-0.499984740745262" }
503
- },
504
- { # 20
505
- :series => { :_theme => "5", :_tint => "0.39997558519241921" },
506
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
507
- :markers => { :_theme => "5", :_tint => "0.79998168889431442" },
508
- :first => { :_theme => "5", :_tint => "-0.249977111117893" },
509
- :last => { :_theme => "5", :_tint => "-0.249977111117893" },
510
- :high => { :_theme => "5", :_tint => "-0.499984740745262" },
511
- :low => { :_theme => "5", :_tint => "-0.499984740745262" }
512
- },
513
- { # 21
514
- :series => { :_theme => "6", :_tint => "0.39997558519241921" },
515
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
516
- :markers => { :_theme => "6", :_tint => "0.79998168889431442" },
517
- :first => { :_theme => "6", :_tint => "-0.249977111117893" },
518
- :last => { :_theme => "6", :_tint => "-0.249977111117893" },
519
- :high => { :_theme => "6", :_tint => "-0.499984740745262" },
520
- :low => { :_theme => "6", :_tint => "-0.499984740745262" }
521
- },
522
- { # 22
523
- :series => { :_theme => "7", :_tint => "0.39997558519241921" },
524
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
525
- :markers => { :_theme => "7", :_tint => "0.79998168889431442" },
526
- :first => { :_theme => "7", :_tint => "-0.249977111117893" },
527
- :last => { :_theme => "7", :_tint => "-0.249977111117893" },
528
- :high => { :_theme => "7", :_tint => "-0.499984740745262" },
529
- :low => { :_theme => "7", :_tint => "-0.499984740745262" }
530
- },
531
- { # 23
532
- :series => { :_theme => "8", :_tint => "0.39997558519241921" },
533
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
534
- :markers => { :_theme => "8", :_tint => "0.79998168889431442" },
535
- :first => { :_theme => "8", :_tint => "-0.249977111117893" },
536
- :last => { :_theme => "8", :_tint => "-0.249977111117893" },
537
- :high => { :_theme => "8", :_tint => "-0.499984740745262" },
538
- :low => { :_theme => "8", :_tint => "-0.499984740745262" }
539
- },
540
- { # 24
541
- :series => { :_theme => "9", :_tint => "0.39997558519241921" },
542
- :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
543
- :markers => { :_theme => "9", :_tint => "0.79998168889431442" },
544
- :first => { :_theme => "9", :_tint => "-0.249977111117893" },
545
- :last => { :_theme => "9", :_tint => "-0.249977111117893" },
546
- :high => { :_theme => "9", :_tint => "-0.499984740745262" },
547
- :low => { :_theme => "9", :_tint => "-0.499984740745262" }
548
- },
549
- { # 25
550
- :series => { :_theme => "1", :_tint => "0.499984740745262" },
551
- :negative => { :_theme => "1", :_tint => "0.249977111117893" },
552
- :markers => { :_theme => "1", :_tint => "0.249977111117893" },
553
- :first => { :_theme => "1", :_tint => "0.249977111117893" },
554
- :last => { :_theme => "1", :_tint => "0.249977111117893" },
555
- :high => { :_theme => "1", :_tint => "0.249977111117893" },
556
- :low => { :_theme => "1", :_tint => "0.249977111117893" }
557
- },
558
- { # 26
559
- :series => { :_theme => "1", :_tint => "0.34998626667073579" },
560
- :negative => { :_theme => "0", :_tint => "-0.249977111117893" },
561
- :markers => { :_theme => "0", :_tint => "-0.249977111117893" },
562
- :first => { :_theme => "0", :_tint => "-0.249977111117893" },
563
- :last => { :_theme => "0", :_tint => "-0.249977111117893" },
564
- :high => { :_theme => "0", :_tint => "-0.249977111117893" },
565
- :low => { :_theme => "0", :_tint => "-0.249977111117893" }
566
- },
567
- { # 27
568
- :series => { :_rgb => "FF323232" },
569
- :negative => { :_rgb => "FFD00000" },
570
- :markers => { :_rgb => "FFD00000" },
571
- :first => { :_rgb => "FFD00000" },
572
- :last => { :_rgb => "FFD00000" },
573
- :high => { :_rgb => "FFD00000" },
574
- :low => { :_rgb => "FFD00000" }
575
- },
576
- { # 28
577
- :series => { :_rgb => "FF000000" },
578
- :negative => { :_rgb => "FF0070C0" },
579
- :markers => { :_rgb => "FF0070C0" },
580
- :first => { :_rgb => "FF0070C0" },
581
- :last => { :_rgb => "FF0070C0" },
582
- :high => { :_rgb => "FF0070C0" },
583
- :low => { :_rgb => "FF0070C0" }
584
- },
585
- { # 29
586
- :series => { :_rgb => "FF376092" },
587
- :negative => { :_rgb => "FFD00000" },
588
- :markers => { :_rgb => "FFD00000" },
589
- :first => { :_rgb => "FFD00000" },
590
- :last => { :_rgb => "FFD00000" },
591
- :high => { :_rgb => "FFD00000" },
592
- :low => { :_rgb => "FFD00000" }
593
- },
594
- { # 30
595
- :series => { :_rgb => "FF0070C0" },
596
- :negative => { :_rgb => "FF000000" },
597
- :markers => { :_rgb => "FF000000" },
598
- :first => { :_rgb => "FF000000" },
599
- :last => { :_rgb => "FF000000" },
600
- :high => { :_rgb => "FF000000" },
601
- :low => { :_rgb => "FF000000" }
602
- },
603
- { # 31
604
- :series => { :_rgb => "FF5F5F5F" },
605
- :negative => { :_rgb => "FFFFB620" },
606
- :markers => { :_rgb => "FFD70077" },
607
- :first => { :_rgb => "FF5687C2" },
608
- :last => { :_rgb => "FF359CEB" },
609
- :high => { :_rgb => "FF56BE79" },
610
- :low => { :_rgb => "FFFF5055" }
611
- },
612
- { # 32
613
- :series => { :_rgb => "FF5687C2" },
614
- :negative => { :_rgb => "FFFFB620" },
615
- :markers => { :_rgb => "FFD70077" },
616
- :first => { :_rgb => "FF777777" },
617
- :last => { :_rgb => "FF359CEB" },
618
- :high => { :_rgb => "FF56BE79" },
619
- :low => { :_rgb => "FFFF5055" }
620
- },
621
- { # 33
622
- :series => { :_rgb => "FFC6EFCE" },
623
- :negative => { :_rgb => "FFFFC7CE" },
624
- :markers => { :_rgb => "FF8CADD6" },
625
- :first => { :_rgb => "FFFFDC47" },
626
- :last => { :_rgb => "FFFFEB9C" },
627
- :high => { :_rgb => "FF60D276" },
628
- :low => { :_rgb => "FFFF5367" }
629
- },
630
- { # 34
631
- :series => { :_rgb => "FF00B050" },
632
- :negative => { :_rgb => "FFFF0000" },
633
- :markers => { :_rgb => "FF0070C0" },
634
- :first => { :_rgb => "FFFFC000" },
635
- :last => { :_rgb => "FFFFC000" },
636
- :high => { :_rgb => "FF00B050" },
637
- :low => { :_rgb => "FFFF0000" }
638
- },
639
- { # 35
640
- :series => { :_theme => "3" },
641
- :negative => { :_theme => "9" },
642
- :markers => { :_theme => "8" },
643
- :first => { :_theme => "4" },
644
- :last => { :_theme => "5" },
645
- :high => { :_theme => "6" },
646
- :low => { :_theme => "7" }
647
- },
648
- { # 36
649
- :series => { :_theme => "1" },
650
- :negative => { :_theme => "9" },
651
- :markers => { :_theme => "8" },
652
- :first => { :_theme => "4" },
653
- :last => { :_theme => "5" },
654
- :high => { :_theme => "6" },
655
- :low => { :_theme => "7" }
656
- }
324
+ { # 0
325
+ :series => { :_theme => "4", :_tint => "-0.499984740745262" },
326
+ :negative => { :_theme => "5" },
327
+ :markers => { :_theme => "4", :_tint => "-0.499984740745262" },
328
+ :first => { :_theme => "4", :_tint => "0.39997558519241921" },
329
+ :last => { :_theme => "4", :_tint => "0.39997558519241921" },
330
+ :high => { :_theme => "4" },
331
+ :low => { :_theme => "4" }
332
+ },
333
+ { # 1
334
+ :series => { :_theme => "4", :_tint => "-0.499984740745262" },
335
+ :negative => { :_theme => "5" },
336
+ :markers => { :_theme => "4", :_tint => "-0.499984740745262" },
337
+ :first => { :_theme => "4", :_tint => "0.39997558519241921" },
338
+ :last => { :_theme => "4", :_tint => "0.39997558519241921" },
339
+ :high => { :_theme => "4" },
340
+ :low => { :_theme => "4" }
341
+ },
342
+ { # 2
343
+ :series => { :_theme => "5", :_tint => "-0.499984740745262" },
344
+ :negative => { :_theme => "6" },
345
+ :markers => { :_theme => "5", :_tint => "-0.499984740745262" },
346
+ :first => { :_theme => "5", :_tint => "0.39997558519241921" },
347
+ :last => { :_theme => "5", :_tint => "0.39997558519241921" },
348
+ :high => { :_theme => "5" },
349
+ :low => { :_theme => "5" }
350
+ },
351
+ { # 3
352
+ :series => { :_theme => "6", :_tint => "-0.499984740745262" },
353
+ :negative => { :_theme => "7" },
354
+ :markers => { :_theme => "6", :_tint => "-0.499984740745262" },
355
+ :first => { :_theme => "6", :_tint => "0.39997558519241921" },
356
+ :last => { :_theme => "6", :_tint => "0.39997558519241921" },
357
+ :high => { :_theme => "6" },
358
+ :low => { :_theme => "6" }
359
+ },
360
+ { # 4
361
+ :series => { :_theme => "7", :_tint => "-0.499984740745262" },
362
+ :negative => { :_theme => "8" },
363
+ :markers => { :_theme => "7", :_tint => "-0.499984740745262" },
364
+ :first => { :_theme => "7", :_tint => "0.39997558519241921" },
365
+ :last => { :_theme => "7", :_tint => "0.39997558519241921" },
366
+ :high => { :_theme => "7" },
367
+ :low => { :_theme => "7" }
368
+ },
369
+ { # 5
370
+ :series => { :_theme => "8", :_tint => "-0.499984740745262" },
371
+ :negative => { :_theme => "9" },
372
+ :markers => { :_theme => "8", :_tint => "-0.499984740745262" },
373
+ :first => { :_theme => "8", :_tint => "0.39997558519241921" },
374
+ :last => { :_theme => "8", :_tint => "0.39997558519241921" },
375
+ :high => { :_theme => "8" },
376
+ :low => { :_theme => "8" }
377
+ },
378
+ { # 6
379
+ :series => { :_theme => "9", :_tint => "-0.499984740745262" },
380
+ :negative => { :_theme => "4" },
381
+ :markers => { :_theme => "9", :_tint => "-0.499984740745262" },
382
+ :first => { :_theme => "9", :_tint => "0.39997558519241921" },
383
+ :last => { :_theme => "9", :_tint => "0.39997558519241921" },
384
+ :high => { :_theme => "9" },
385
+ :low => { :_theme => "9" }
386
+ },
387
+ { # 7
388
+ :series => { :_theme => "4", :_tint => "-0.249977111117893" },
389
+ :negative => { :_theme => "5" },
390
+ :markers => { :_theme => "5", :_tint => "-0.249977111117893" },
391
+ :first => { :_theme => "5", :_tint => "-0.249977111117893" },
392
+ :last => { :_theme => "5", :_tint => "-0.249977111117893" },
393
+ :high => { :_theme => "5", :_tint => "-0.249977111117893" },
394
+ :low => { :_theme => "5", :_tint => "-0.249977111117893" }
395
+ },
396
+ { # 8
397
+ :series => { :_theme => "5", :_tint => "-0.249977111117893" },
398
+ :negative => { :_theme => "6" },
399
+ :markers => { :_theme => "6", :_tint => "-0.249977111117893" },
400
+ :first => { :_theme => "6", :_tint => "-0.249977111117893" },
401
+ :last => { :_theme => "6", :_tint => "-0.249977111117893" },
402
+ :high => { :_theme => "6", :_tint => "-0.249977111117893" },
403
+ :low => { :_theme => "6", :_tint => "-0.249977111117893" }
404
+ },
405
+ { # 9
406
+ :series => { :_theme => "6", :_tint => "-0.249977111117893" },
407
+ :negative => { :_theme => "7" },
408
+ :markers => { :_theme => "7", :_tint => "-0.249977111117893" },
409
+ :first => { :_theme => "7", :_tint => "-0.249977111117893" },
410
+ :last => { :_theme => "7", :_tint => "-0.249977111117893" },
411
+ :high => { :_theme => "7", :_tint => "-0.249977111117893" },
412
+ :low => { :_theme => "7", :_tint => "-0.249977111117893" }
413
+ },
414
+ { # 10
415
+ :series => { :_theme => "7", :_tint => "-0.249977111117893" },
416
+ :negative => { :_theme => "8" },
417
+ :markers => { :_theme => "8", :_tint => "-0.249977111117893" },
418
+ :first => { :_theme => "8", :_tint => "-0.249977111117893" },
419
+ :last => { :_theme => "8", :_tint => "-0.249977111117893" },
420
+ :high => { :_theme => "8", :_tint => "-0.249977111117893" },
421
+ :low => { :_theme => "8", :_tint => "-0.249977111117893" }
422
+ },
423
+ { # 11
424
+ :series => { :_theme => "8", :_tint => "-0.249977111117893" },
425
+ :negative => { :_theme => "9" },
426
+ :markers => { :_theme => "9", :_tint => "-0.249977111117893" },
427
+ :first => { :_theme => "9", :_tint => "-0.249977111117893" },
428
+ :last => { :_theme => "9", :_tint => "-0.249977111117893" },
429
+ :high => { :_theme => "9", :_tint => "-0.249977111117893" },
430
+ :low => { :_theme => "9", :_tint => "-0.249977111117893" }
431
+ },
432
+ { # 12
433
+ :series => { :_theme => "9", :_tint => "-0.249977111117893" },
434
+ :negative => { :_theme => "4" },
435
+ :markers => { :_theme => "4", :_tint => "-0.249977111117893" },
436
+ :first => { :_theme => "4", :_tint => "-0.249977111117893" },
437
+ :last => { :_theme => "4", :_tint => "-0.249977111117893" },
438
+ :high => { :_theme => "4", :_tint => "-0.249977111117893" },
439
+ :low => { :_theme => "4", :_tint => "-0.249977111117893" }
440
+ },
441
+ { # 13
442
+ :series => { :_theme => "4" },
443
+ :negative => { :_theme => "5" },
444
+ :markers => { :_theme => "4", :_tint => "-0.249977111117893" },
445
+ :first => { :_theme => "4", :_tint => "-0.249977111117893" },
446
+ :last => { :_theme => "4", :_tint => "-0.249977111117893" },
447
+ :high => { :_theme => "4", :_tint => "-0.249977111117893" },
448
+ :low => { :_theme => "4", :_tint => "-0.249977111117893" }
449
+ },
450
+ { # 14
451
+ :series => { :_theme => "5" },
452
+ :negative => { :_theme => "6" },
453
+ :markers => { :_theme => "5", :_tint => "-0.249977111117893" },
454
+ :first => { :_theme => "5", :_tint => "-0.249977111117893" },
455
+ :last => { :_theme => "5", :_tint => "-0.249977111117893" },
456
+ :high => { :_theme => "5", :_tint => "-0.249977111117893" },
457
+ :low => { :_theme => "5", :_tint => "-0.249977111117893" }
458
+ },
459
+ { # 15
460
+ :series => { :_theme => "6" },
461
+ :negative => { :_theme => "7" },
462
+ :markers => { :_theme => "6", :_tint => "-0.249977111117893" },
463
+ :first => { :_theme => "6", :_tint => "-0.249977111117893" },
464
+ :last => { :_theme => "6", :_tint => "-0.249977111117893" },
465
+ :high => { :_theme => "6", :_tint => "-0.249977111117893" },
466
+ :low => { :_theme => "6", :_tint => "-0.249977111117893" }
467
+ },
468
+ { # 16
469
+ :series => { :_theme => "7" },
470
+ :negative => { :_theme => "8" },
471
+ :markers => { :_theme => "7", :_tint => "-0.249977111117893" },
472
+ :first => { :_theme => "7", :_tint => "-0.249977111117893" },
473
+ :last => { :_theme => "7", :_tint => "-0.249977111117893" },
474
+ :high => { :_theme => "7", :_tint => "-0.249977111117893" },
475
+ :low => { :_theme => "7", :_tint => "-0.249977111117893" }
476
+ },
477
+ { # 17
478
+ :series => { :_theme => "8" },
479
+ :negative => { :_theme => "9" },
480
+ :markers => { :_theme => "8", :_tint => "-0.249977111117893" },
481
+ :first => { :_theme => "8", :_tint => "-0.249977111117893" },
482
+ :last => { :_theme => "8", :_tint => "-0.249977111117893" },
483
+ :high => { :_theme => "8", :_tint => "-0.249977111117893" },
484
+ :low => { :_theme => "8", :_tint => "-0.249977111117893" }
485
+ },
486
+ { # 18
487
+ :series => { :_theme => "9" },
488
+ :negative => { :_theme => "4" },
489
+ :markers => { :_theme => "9", :_tint => "-0.249977111117893" },
490
+ :first => { :_theme => "9", :_tint => "-0.249977111117893" },
491
+ :last => { :_theme => "9", :_tint => "-0.249977111117893" },
492
+ :high => { :_theme => "9", :_tint => "-0.249977111117893" },
493
+ :low => { :_theme => "9", :_tint => "-0.249977111117893" }
494
+ },
495
+ { # 19
496
+ :series => { :_theme => "4", :_tint => "0.39997558519241921" },
497
+ :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
498
+ :markers => { :_theme => "4", :_tint => "0.79998168889431442" },
499
+ :first => { :_theme => "4", :_tint => "-0.249977111117893" },
500
+ :last => { :_theme => "4", :_tint => "-0.249977111117893" },
501
+ :high => { :_theme => "4", :_tint => "-0.499984740745262" },
502
+ :low => { :_theme => "4", :_tint => "-0.499984740745262" }
503
+ },
504
+ { # 20
505
+ :series => { :_theme => "5", :_tint => "0.39997558519241921" },
506
+ :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
507
+ :markers => { :_theme => "5", :_tint => "0.79998168889431442" },
508
+ :first => { :_theme => "5", :_tint => "-0.249977111117893" },
509
+ :last => { :_theme => "5", :_tint => "-0.249977111117893" },
510
+ :high => { :_theme => "5", :_tint => "-0.499984740745262" },
511
+ :low => { :_theme => "5", :_tint => "-0.499984740745262" }
512
+ },
513
+ { # 21
514
+ :series => { :_theme => "6", :_tint => "0.39997558519241921" },
515
+ :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
516
+ :markers => { :_theme => "6", :_tint => "0.79998168889431442" },
517
+ :first => { :_theme => "6", :_tint => "-0.249977111117893" },
518
+ :last => { :_theme => "6", :_tint => "-0.249977111117893" },
519
+ :high => { :_theme => "6", :_tint => "-0.499984740745262" },
520
+ :low => { :_theme => "6", :_tint => "-0.499984740745262" }
521
+ },
522
+ { # 22
523
+ :series => { :_theme => "7", :_tint => "0.39997558519241921" },
524
+ :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
525
+ :markers => { :_theme => "7", :_tint => "0.79998168889431442" },
526
+ :first => { :_theme => "7", :_tint => "-0.249977111117893" },
527
+ :last => { :_theme => "7", :_tint => "-0.249977111117893" },
528
+ :high => { :_theme => "7", :_tint => "-0.499984740745262" },
529
+ :low => { :_theme => "7", :_tint => "-0.499984740745262" }
530
+ },
531
+ { # 23
532
+ :series => { :_theme => "8", :_tint => "0.39997558519241921" },
533
+ :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
534
+ :markers => { :_theme => "8", :_tint => "0.79998168889431442" },
535
+ :first => { :_theme => "8", :_tint => "-0.249977111117893" },
536
+ :last => { :_theme => "8", :_tint => "-0.249977111117893" },
537
+ :high => { :_theme => "8", :_tint => "-0.499984740745262" },
538
+ :low => { :_theme => "8", :_tint => "-0.499984740745262" }
539
+ },
540
+ { # 24
541
+ :series => { :_theme => "9", :_tint => "0.39997558519241921" },
542
+ :negative => { :_theme => "0", :_tint => "-0.499984740745262" },
543
+ :markers => { :_theme => "9", :_tint => "0.79998168889431442" },
544
+ :first => { :_theme => "9", :_tint => "-0.249977111117893" },
545
+ :last => { :_theme => "9", :_tint => "-0.249977111117893" },
546
+ :high => { :_theme => "9", :_tint => "-0.499984740745262" },
547
+ :low => { :_theme => "9", :_tint => "-0.499984740745262" }
548
+ },
549
+ { # 25
550
+ :series => { :_theme => "1", :_tint => "0.499984740745262" },
551
+ :negative => { :_theme => "1", :_tint => "0.249977111117893" },
552
+ :markers => { :_theme => "1", :_tint => "0.249977111117893" },
553
+ :first => { :_theme => "1", :_tint => "0.249977111117893" },
554
+ :last => { :_theme => "1", :_tint => "0.249977111117893" },
555
+ :high => { :_theme => "1", :_tint => "0.249977111117893" },
556
+ :low => { :_theme => "1", :_tint => "0.249977111117893" }
557
+ },
558
+ { # 26
559
+ :series => { :_theme => "1", :_tint => "0.34998626667073579" },
560
+ :negative => { :_theme => "0", :_tint => "-0.249977111117893" },
561
+ :markers => { :_theme => "0", :_tint => "-0.249977111117893" },
562
+ :first => { :_theme => "0", :_tint => "-0.249977111117893" },
563
+ :last => { :_theme => "0", :_tint => "-0.249977111117893" },
564
+ :high => { :_theme => "0", :_tint => "-0.249977111117893" },
565
+ :low => { :_theme => "0", :_tint => "-0.249977111117893" }
566
+ },
567
+ { # 27
568
+ :series => { :_rgb => "FF323232" },
569
+ :negative => { :_rgb => "FFD00000" },
570
+ :markers => { :_rgb => "FFD00000" },
571
+ :first => { :_rgb => "FFD00000" },
572
+ :last => { :_rgb => "FFD00000" },
573
+ :high => { :_rgb => "FFD00000" },
574
+ :low => { :_rgb => "FFD00000" }
575
+ },
576
+ { # 28
577
+ :series => { :_rgb => "FF000000" },
578
+ :negative => { :_rgb => "FF0070C0" },
579
+ :markers => { :_rgb => "FF0070C0" },
580
+ :first => { :_rgb => "FF0070C0" },
581
+ :last => { :_rgb => "FF0070C0" },
582
+ :high => { :_rgb => "FF0070C0" },
583
+ :low => { :_rgb => "FF0070C0" }
584
+ },
585
+ { # 29
586
+ :series => { :_rgb => "FF376092" },
587
+ :negative => { :_rgb => "FFD00000" },
588
+ :markers => { :_rgb => "FFD00000" },
589
+ :first => { :_rgb => "FFD00000" },
590
+ :last => { :_rgb => "FFD00000" },
591
+ :high => { :_rgb => "FFD00000" },
592
+ :low => { :_rgb => "FFD00000" }
593
+ },
594
+ { # 30
595
+ :series => { :_rgb => "FF0070C0" },
596
+ :negative => { :_rgb => "FF000000" },
597
+ :markers => { :_rgb => "FF000000" },
598
+ :first => { :_rgb => "FF000000" },
599
+ :last => { :_rgb => "FF000000" },
600
+ :high => { :_rgb => "FF000000" },
601
+ :low => { :_rgb => "FF000000" }
602
+ },
603
+ { # 31
604
+ :series => { :_rgb => "FF5F5F5F" },
605
+ :negative => { :_rgb => "FFFFB620" },
606
+ :markers => { :_rgb => "FFD70077" },
607
+ :first => { :_rgb => "FF5687C2" },
608
+ :last => { :_rgb => "FF359CEB" },
609
+ :high => { :_rgb => "FF56BE79" },
610
+ :low => { :_rgb => "FFFF5055" }
611
+ },
612
+ { # 32
613
+ :series => { :_rgb => "FF5687C2" },
614
+ :negative => { :_rgb => "FFFFB620" },
615
+ :markers => { :_rgb => "FFD70077" },
616
+ :first => { :_rgb => "FF777777" },
617
+ :last => { :_rgb => "FF359CEB" },
618
+ :high => { :_rgb => "FF56BE79" },
619
+ :low => { :_rgb => "FFFF5055" }
620
+ },
621
+ { # 33
622
+ :series => { :_rgb => "FFC6EFCE" },
623
+ :negative => { :_rgb => "FFFFC7CE" },
624
+ :markers => { :_rgb => "FF8CADD6" },
625
+ :first => { :_rgb => "FFFFDC47" },
626
+ :last => { :_rgb => "FFFFEB9C" },
627
+ :high => { :_rgb => "FF60D276" },
628
+ :low => { :_rgb => "FFFF5367" }
629
+ },
630
+ { # 34
631
+ :series => { :_rgb => "FF00B050" },
632
+ :negative => { :_rgb => "FFFF0000" },
633
+ :markers => { :_rgb => "FF0070C0" },
634
+ :first => { :_rgb => "FFFFC000" },
635
+ :last => { :_rgb => "FFFFC000" },
636
+ :high => { :_rgb => "FF00B050" },
637
+ :low => { :_rgb => "FFFF0000" }
638
+ },
639
+ { # 35
640
+ :series => { :_theme => "3" },
641
+ :negative => { :_theme => "9" },
642
+ :markers => { :_theme => "8" },
643
+ :first => { :_theme => "4" },
644
+ :last => { :_theme => "5" },
645
+ :high => { :_theme => "6" },
646
+ :low => { :_theme => "7" }
647
+ },
648
+ { # 36
649
+ :series => { :_theme => "1" },
650
+ :negative => { :_theme => "9" },
651
+ :markers => { :_theme => "8" },
652
+ :first => { :_theme => "4" },
653
+ :last => { :_theme => "5" },
654
+ :high => { :_theme => "6" },
655
+ :low => { :_theme => "7" }
656
+ }
657
657
  ]
658
658
  end
659
659
  end