realchart 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -409,7 +409,7 @@
409
409
  fill: #aaa !important;
410
410
  }
411
411
 
412
- /** plot area */
412
+ /** body */
413
413
  .rct-body-background {
414
414
  stroke: var(--rct-body-background-stroke);
415
415
  fill: none;
@@ -418,6 +418,14 @@
418
418
  .rct-body-background[data-polar] {
419
419
  stroke: none;
420
420
  }
421
+ .rct-empty-view {
422
+ fill: #fcfcff;
423
+ stroke: #eee;
424
+ }
425
+ .rct-empty-view-label {
426
+ fill: #777;
427
+ font-size: 1.4em;
428
+ }
421
429
 
422
430
  /** axis */
423
431
  .rct-axis-title {
@@ -446,10 +454,9 @@
446
454
  font-size: 14px;
447
455
  fill: var(--rct-axis-label-fill);
448
456
  }
449
- /* .rct-axis-grid {
450
- stroke: var(--rct-axis-grid-stroke);
451
- stroke-width: 1px;
452
- } */
457
+ .rct-axis-grid {
458
+ fill: none;
459
+ }
453
460
  .rct-axis-grid-line {
454
461
  stroke: var(--rct-axis-grid-line-stroke);
455
462
  stroke-width: var(--rct-axis-grid-line-stroke-width);
@@ -491,6 +498,9 @@
491
498
  .rct-polar-xaxis-sector-line {
492
499
  stroke: #555;
493
500
  }
501
+ .rct-polar-axis-grids {
502
+ fill: none;
503
+ }
494
504
  .rct-polar-xaxis-grid-line {
495
505
  stroke: var(--rct-polar-xaxis-grid-line-stroke)
496
506
  }
@@ -657,12 +667,24 @@
657
667
  .rct-series[data-unhover] {
658
668
  opacity: 0.2 !important;
659
669
  }
660
- .rct-series .rct-point[data-hover], .rct-point[data-unhover] {
670
+ .rct-point[data-unhover] {
671
+ opacity: 0.2 !important;
672
+ }
673
+ .rct-series .rct-point[data-focus], .rct-point[data-unfocus] {
661
674
  stroke: var(--rct-focus-stroke) !important;
662
675
  stroke-width: var(--rct-focus-stroke-width) !important;
663
676
  filter: brightness(115%) !important;
664
677
  opacity: 1 !important;
665
678
  }
679
+ /** data point hover */
680
+ .rct-point-unhover {
681
+ opacity: 0.3;
682
+ transition: opacity 0.7s;
683
+ }
684
+ .rct-point-hover {
685
+ opacity: inherit;
686
+ transition: opacity 0.7s;
687
+ }
666
688
  .rct-point-labels {
667
689
  opacity: inherit;
668
690
  transition-property: opacity;
@@ -748,7 +770,7 @@
748
770
  .rct-scatter-series {
749
771
  fill-opacity: 0.7;
750
772
  }
751
- .rct-scatter-series .rct-point[data-hover] {
773
+ .rct-scatter-series .rct-point[data-focus] {
752
774
  fill-opacity: 0.9;
753
775
  }
754
776
 
@@ -772,7 +794,7 @@
772
794
  stroke: #333;
773
795
  stroke-dasharray: 2;
774
796
  }
775
- .rct-boxplot-series .rct-point[data-hover] .rct-boxplot-point-stem {
797
+ .rct-boxplot-series .rct-point[data-focus] .rct-boxplot-point-stem {
776
798
  stroke: #000;
777
799
  stroke-dasharray: none;
778
800
  stroke-width: 2px;
@@ -783,7 +805,7 @@
783
805
  stroke-width: 1;
784
806
  fill-opacity: 0.85;
785
807
  }
786
- .rct-candlestick-series .rct-point[data-hover] {
808
+ .rct-candlestick-series .rct-point[data-focus] {
787
809
  fill-opacity: 0.5;
788
810
  }
789
811
  .rct-candlestick-series .rct-point[data-decline] {
@@ -804,7 +826,7 @@
804
826
  .rct-ohlc-series .rct-point[data-decline] {
805
827
  stroke: #00f;
806
828
  }
807
- .rct-ohlc-series .rct-point[data-hover] .rct-ohlc-point-back {
829
+ .rct-ohlc-series .rct-point[data-focus] .rct-ohlc-point-back {
808
830
  fill: #0088ff20 !important;
809
831
  }
810
832
  .rct-ohlc-point-back {
@@ -834,7 +856,7 @@
834
856
  stroke: #008;
835
857
  stroke-width: 2px;
836
858
  }
837
- .rct-errorbar-series .rct-point[data-hover] .rct-errorbar-point-back {
859
+ .rct-errorbar-series .rct-point[data-focus] .rct-errorbar-point-back {
838
860
  fill: #0088ff20 !important;
839
861
  }
840
862
 
@@ -842,14 +864,17 @@
842
864
  .rct-lollipop-series {
843
865
  stroke-width: 3px;
844
866
  }
867
+ .rct-lollipop-point-bar {
868
+ shape-rendering: crispEdges;
869
+ }
845
870
  .rct-lollipop-point-marker {
846
871
  stroke: none;
847
872
  }
848
- .rct-lollipop-series .rct-point[data-hover] {
873
+ .rct-lollipop-series .rct-point[data-focus] {
849
874
  stroke: var(--rct-focus-stroke);
850
875
  stroke-width: inherit;
851
876
  }
852
- .rct-lollipop-series .rct-point[data-hover] .rct-lollipop-point-marker {
877
+ .rct-lollipop-series .rct-point[data-focus] .rct-lollipop-point-marker {
853
878
  stroke: var(--rct-focus-stroke);
854
879
  stroke-width: var(--rct-focus-stroke-width);
855
880
  }
@@ -858,14 +883,17 @@
858
883
  .rct-dumbbell-series {
859
884
  stroke-width: 3px;
860
885
  }
886
+ .rct-dumbbell-point-bar {
887
+ shape-rendering: crispEdges;
888
+ }
861
889
  .rct-dumbbell-point-marker {
862
890
  stroke: none;
863
891
  }
864
- .rct-dumbbell-series .rct-point[data-hover] {
892
+ .rct-dumbbell-series .rct-point[data-focus] {
865
893
  stroke: var(--rct-focus-stroke);
866
894
  stroke-width: inherit;
867
895
  }
868
- .rct-dumbbell-series .rct-point[data-hover] .rct-dumbbell-point-marker {
896
+ .rct-dumbbell-series .rct-point[data-focus] .rct-dumbbell-point-marker {
869
897
  stroke: var(--rct-focus-stroke);
870
898
  stroke-width: var(--rct-focus-stroke-width);
871
899
  }
@@ -874,7 +902,7 @@
874
902
  .rct-equalizer-series {
875
903
  fill-opacity: 0.9;
876
904
  }
877
- .rct-equalizer-series .rct-point[data-hover] {
905
+ .rct-equalizer-series .rct-point[data-focus] {
878
906
  filter: brightness(120%);
879
907
  }
880
908
 
@@ -887,7 +915,7 @@
887
915
  .rct-vector-series {
888
916
  stroke-width: 2px;
889
917
  }
890
- .rct-vector-series .rct-point[data-hover] {
918
+ .rct-vector-series .rct-point[data-focus] {
891
919
  stroke-width: 5px;
892
920
  }
893
921
 
@@ -914,7 +942,7 @@
914
942
  .rct-funnel-series .rct-point {
915
943
  stroke: #fff;
916
944
  }
917
- .rct-funnel-series .rct-point[data-hover] {
945
+ .rct-funnel-series .rct-point[data-focus] {
918
946
  stroke: #000;
919
947
  stroke-width: 2px;
920
948
  }
@@ -163,7 +163,7 @@
163
163
  fill: #aaa !important;
164
164
  }
165
165
 
166
- /** plot area */
166
+ /** body */
167
167
  .rct-body-background {
168
168
  stroke: none;
169
169
  fill: none;
@@ -172,6 +172,14 @@
172
172
  .rct-body-background[data-polar] {
173
173
  stroke: none;
174
174
  }
175
+ .rct-empty-view {
176
+ fill: #fcfcff;
177
+ stroke: #eee;
178
+ }
179
+ .rct-empty-view-label {
180
+ fill: #777;
181
+ font-size: 1.4em;
182
+ }
175
183
 
176
184
  /** axis */
177
185
  .rct-axis-title {
@@ -200,10 +208,9 @@
200
208
  font-size: 14px;
201
209
  fill: #333;
202
210
  }
203
- /* .rct-axis-grid {
204
- stroke: var(--rct-axis-grid-stroke);
205
- stroke-width: 1px;
206
- } */
211
+ .rct-axis-grid {
212
+ fill: none;
213
+ }
207
214
  .rct-axis-grid-line {
208
215
  stroke: #ddd;
209
216
  stroke-width: 1px;
@@ -245,6 +252,9 @@
245
252
  .rct-polar-xaxis-sector-line {
246
253
  stroke: #555;
247
254
  }
255
+ .rct-polar-axis-grids {
256
+ fill: none;
257
+ }
248
258
  .rct-polar-xaxis-grid-line {
249
259
  stroke: #ccc
250
260
  }
@@ -411,18 +421,30 @@
411
421
  .rct-series[data-unhover] {
412
422
  opacity: 0.2 !important;
413
423
  }
414
- .rct-series .rct-point[data-hover] {
424
+ .rct-point[data-unhover] {
425
+ opacity: 0.2 !important;
426
+ }
427
+ .rct-series .rct-point[data-focus] {
415
428
  stroke: #000 !important;
416
429
  stroke-width: 2px !important;
417
430
  filter: brightness(115%) !important;
418
431
  opacity: 1 !important;
419
432
  }
420
- .rct-point[data-unhover] {
433
+ .rct-point[data-unfocus] {
421
434
  stroke: #000 !important;
422
435
  stroke-width: 2px !important;
423
436
  filter: brightness(115%) !important;
424
437
  opacity: 1 !important;
425
438
  }
439
+ /** data point hover */
440
+ .rct-point-unhover {
441
+ opacity: 0.3;
442
+ transition: opacity 0.7s;
443
+ }
444
+ .rct-point-hover {
445
+ opacity: inherit;
446
+ transition: opacity 0.7s;
447
+ }
426
448
  .rct-point-labels {
427
449
  opacity: inherit;
428
450
  transition-property: opacity;
@@ -508,7 +530,7 @@
508
530
  .rct-scatter-series {
509
531
  fill-opacity: 0.7;
510
532
  }
511
- .rct-scatter-series .rct-point[data-hover] {
533
+ .rct-scatter-series .rct-point[data-focus] {
512
534
  fill-opacity: 0.9;
513
535
  }
514
536
 
@@ -532,7 +554,7 @@
532
554
  stroke: #333;
533
555
  stroke-dasharray: 2;
534
556
  }
535
- .rct-boxplot-series .rct-point[data-hover] .rct-boxplot-point-stem {
557
+ .rct-boxplot-series .rct-point[data-focus] .rct-boxplot-point-stem {
536
558
  stroke: #000;
537
559
  stroke-dasharray: none;
538
560
  stroke-width: 2px;
@@ -543,7 +565,7 @@
543
565
  stroke-width: 1;
544
566
  fill-opacity: 0.85;
545
567
  }
546
- .rct-candlestick-series .rct-point[data-hover] {
568
+ .rct-candlestick-series .rct-point[data-focus] {
547
569
  fill-opacity: 0.5;
548
570
  }
549
571
  .rct-candlestick-series .rct-point[data-decline] {
@@ -564,7 +586,7 @@
564
586
  .rct-ohlc-series .rct-point[data-decline] {
565
587
  stroke: #00f;
566
588
  }
567
- .rct-ohlc-series .rct-point[data-hover] .rct-ohlc-point-back {
589
+ .rct-ohlc-series .rct-point[data-focus] .rct-ohlc-point-back {
568
590
  fill: rgba(0,136,255,0.12549) !important;
569
591
  }
570
592
  .rct-ohlc-point-back {
@@ -594,7 +616,7 @@
594
616
  stroke: #008;
595
617
  stroke-width: 2px;
596
618
  }
597
- .rct-errorbar-series .rct-point[data-hover] .rct-errorbar-point-back {
619
+ .rct-errorbar-series .rct-point[data-focus] .rct-errorbar-point-back {
598
620
  fill: rgba(0,136,255,0.12549) !important;
599
621
  }
600
622
 
@@ -602,14 +624,17 @@
602
624
  .rct-lollipop-series {
603
625
  stroke-width: 3px;
604
626
  }
627
+ .rct-lollipop-point-bar {
628
+ shape-rendering: crispEdges;
629
+ }
605
630
  .rct-lollipop-point-marker {
606
631
  stroke: none;
607
632
  }
608
- .rct-lollipop-series .rct-point[data-hover] {
633
+ .rct-lollipop-series .rct-point[data-focus] {
609
634
  stroke: #000;
610
635
  stroke-width: inherit;
611
636
  }
612
- .rct-lollipop-series .rct-point[data-hover] .rct-lollipop-point-marker {
637
+ .rct-lollipop-series .rct-point[data-focus] .rct-lollipop-point-marker {
613
638
  stroke: #000;
614
639
  stroke-width: 2px;
615
640
  }
@@ -618,14 +643,17 @@
618
643
  .rct-dumbbell-series {
619
644
  stroke-width: 3px;
620
645
  }
646
+ .rct-dumbbell-point-bar {
647
+ shape-rendering: crispEdges;
648
+ }
621
649
  .rct-dumbbell-point-marker {
622
650
  stroke: none;
623
651
  }
624
- .rct-dumbbell-series .rct-point[data-hover] {
652
+ .rct-dumbbell-series .rct-point[data-focus] {
625
653
  stroke: #000;
626
654
  stroke-width: inherit;
627
655
  }
628
- .rct-dumbbell-series .rct-point[data-hover] .rct-dumbbell-point-marker {
656
+ .rct-dumbbell-series .rct-point[data-focus] .rct-dumbbell-point-marker {
629
657
  stroke: #000;
630
658
  stroke-width: 2px;
631
659
  }
@@ -634,7 +662,7 @@
634
662
  .rct-equalizer-series {
635
663
  fill-opacity: 0.9;
636
664
  }
637
- .rct-equalizer-series .rct-point[data-hover] {
665
+ .rct-equalizer-series .rct-point[data-focus] {
638
666
  filter: brightness(120%);
639
667
  }
640
668
 
@@ -647,7 +675,7 @@
647
675
  .rct-vector-series {
648
676
  stroke-width: 2px;
649
677
  }
650
- .rct-vector-series .rct-point[data-hover] {
678
+ .rct-vector-series .rct-point[data-focus] {
651
679
  stroke-width: 5px;
652
680
  }
653
681
 
@@ -674,7 +702,7 @@
674
702
  .rct-funnel-series .rct-point {
675
703
  stroke: #fff;
676
704
  }
677
- .rct-funnel-series .rct-point[data-hover] {
705
+ .rct-funnel-series .rct-point[data-focus] {
678
706
  stroke: #000;
679
707
  stroke-width: 2px;
680
708
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "realchart",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Wooritech charting library",
5
5
  "main": "./dist/index",
6
6
  "author": {