realchart 0.9.4 → 0.9.6
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.
- package/README.md +27 -39
- package/dist/index.d.ts +224 -65
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/realchart-style.css +165 -12
- package/package.json +1 -1
package/dist/realchart-style.css
CHANGED
|
@@ -104,6 +104,8 @@
|
|
|
104
104
|
.rct-root {
|
|
105
105
|
--rct-font-family: AppleSDGothicNeo-Light, 'HelveticaNeue', 'Malgun Gothic', '맑은 고딕', sans-serif;
|
|
106
106
|
--rct-font-size: 16px;
|
|
107
|
+
|
|
108
|
+
--rct-focus-border: red;
|
|
107
109
|
--rct-text-fill: #333;
|
|
108
110
|
|
|
109
111
|
--rct-title-fill: #333;
|
|
@@ -112,7 +114,7 @@
|
|
|
112
114
|
--rct-plot-background-stroke: #ddd;
|
|
113
115
|
|
|
114
116
|
--rct-axis-title-fill: #333;
|
|
115
|
-
--rct-axis-line-stroke: #
|
|
117
|
+
--rct-axis-line-stroke: #aaa;
|
|
116
118
|
--rct-axis-tick-stroke: #555;
|
|
117
119
|
--rct-axis-label-fill: #555;
|
|
118
120
|
--rct-axis-grid-line-stroke: #ddd;
|
|
@@ -120,7 +122,7 @@
|
|
|
120
122
|
--rct-axis-grid-line-stroke-end: none;
|
|
121
123
|
--rct-axis-grid-line-stroke-width: 1px;
|
|
122
124
|
|
|
123
|
-
--rct-legend-background-stroke:
|
|
125
|
+
--rct-legend-background-stroke: none;
|
|
124
126
|
--rct-legend-item-fill: #333;
|
|
125
127
|
--rct-legend-item-disabled: #aaa;
|
|
126
128
|
--rct-legend-item-disabled-decoration: line-through;
|
|
@@ -131,6 +133,19 @@
|
|
|
131
133
|
--rct-point-label-fill: #333;
|
|
132
134
|
|
|
133
135
|
--rct-credits-fill: #777;
|
|
136
|
+
|
|
137
|
+
/* circle gauge */
|
|
138
|
+
--rct-circle-gauge-back-fill: #e4e4e4;
|
|
139
|
+
--rct-circle-gauge-inner-fill: none;
|
|
140
|
+
--rct-circle-gauge-label-fill: #333;
|
|
141
|
+
/* clock gauge */
|
|
142
|
+
--rct-clock-gauge-face-fill: white;
|
|
143
|
+
--rct-clock-gauge-rim-fill: #eee;
|
|
144
|
+
--rct-clock-gauge-rim-stroke: gray;
|
|
145
|
+
--rct-clock-gauge-tick-stroke: #333;
|
|
146
|
+
--rct-clock-gauge-minor-tick-stroke: #555;
|
|
147
|
+
--rct-clock-gauge-tick-label-fill: #333;
|
|
148
|
+
--rct-clock-gauge-label-fill: #aaa;
|
|
134
149
|
}
|
|
135
150
|
.rct-root[data-theme='dark'] {
|
|
136
151
|
--rct-focus-border: yellow;
|
|
@@ -154,6 +169,10 @@
|
|
|
154
169
|
--rct-point-label-fill: #ddd;
|
|
155
170
|
|
|
156
171
|
--rct-credits-fill: #999;
|
|
172
|
+
|
|
173
|
+
/* circle gauge */
|
|
174
|
+
--rct-circle-gauge-back-fill: #333;
|
|
175
|
+
--rct-circle-gauge-label-fill: #eee;
|
|
157
176
|
}
|
|
158
177
|
|
|
159
178
|
/** control */
|
|
@@ -233,9 +252,9 @@
|
|
|
233
252
|
fill: var(--rct-legend-item-disabled);
|
|
234
253
|
text-decoration: var(--rct-legend-item-disabled-decoration)
|
|
235
254
|
}
|
|
236
|
-
.rct-legend-item-marker {
|
|
255
|
+
/* .rct-legend-item-marker {
|
|
237
256
|
stroke: none;
|
|
238
|
-
}
|
|
257
|
+
} */
|
|
239
258
|
.rct-legend-item-marker[data-hidden] {
|
|
240
259
|
fill: #aaa !important;
|
|
241
260
|
}
|
|
@@ -278,8 +297,9 @@
|
|
|
278
297
|
stroke-width: var(--rct-axis-grid-line-stroke-width);
|
|
279
298
|
}
|
|
280
299
|
.rct-axis-break {
|
|
281
|
-
stroke:
|
|
300
|
+
stroke: #777;
|
|
282
301
|
fill: white;
|
|
302
|
+
fill-opacity: 0.9;
|
|
283
303
|
}
|
|
284
304
|
.rct-axis-guide-label {
|
|
285
305
|
fill: blue;
|
|
@@ -452,7 +472,10 @@
|
|
|
452
472
|
.rct-line-series-line {
|
|
453
473
|
stroke-width: 1px;
|
|
454
474
|
}
|
|
455
|
-
.rct-line-point
|
|
475
|
+
.rct-line-series .rct-point {
|
|
476
|
+
stroke-dasharray: none;
|
|
477
|
+
}
|
|
478
|
+
.rct-line-series .rct-point[data-focus] {
|
|
456
479
|
/* scale: 2; */
|
|
457
480
|
stroke: var(--rct-focus-border) !important;
|
|
458
481
|
stroke-width: 2px;
|
|
@@ -470,6 +493,9 @@
|
|
|
470
493
|
.rct-arearange-series-area {
|
|
471
494
|
fill-opacity: 0.5;
|
|
472
495
|
}
|
|
496
|
+
.rct-arearange-series .rct-arearange-series-area {
|
|
497
|
+
stroke: none;
|
|
498
|
+
}
|
|
473
499
|
|
|
474
500
|
/** bubble series */
|
|
475
501
|
.rct-bubble-series {
|
|
@@ -654,8 +680,135 @@
|
|
|
654
680
|
stroke-width: 2px;
|
|
655
681
|
}
|
|
656
682
|
|
|
683
|
+
/** gauge */
|
|
684
|
+
.rct-gauge-background {
|
|
685
|
+
fill: none;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/** circle gauge */
|
|
689
|
+
.rct-circle-gauge-back {
|
|
690
|
+
fill: var(--rct-circle-gauge-back-fill);
|
|
691
|
+
}
|
|
692
|
+
.rct-circle-gauge-inner {
|
|
693
|
+
fill: var(--rct-circle-gauge-inner-fill);
|
|
694
|
+
}
|
|
695
|
+
.rct-circle-gauge-value {
|
|
696
|
+
fill: #008844;
|
|
697
|
+
}
|
|
698
|
+
.rct-circle-gauge-value[data-stroked] {
|
|
699
|
+
fill: none;
|
|
700
|
+
}
|
|
701
|
+
.rct-circle-gauge-label {
|
|
702
|
+
font-size: 40px;
|
|
703
|
+
fill: var(--rct-circle-gauge-label-fill);
|
|
704
|
+
stroke: none;
|
|
705
|
+
}
|
|
706
|
+
.rct-circle-gauge-label[data-grouped] {
|
|
707
|
+
font-size: 20px;
|
|
708
|
+
}
|
|
709
|
+
.rct-circle-gauge-pin {
|
|
710
|
+
fill: white;
|
|
711
|
+
stroke: #333;
|
|
712
|
+
stroke-width: 3px;
|
|
713
|
+
}
|
|
714
|
+
.rct-circle-gauge-hand {
|
|
715
|
+
fill: #333;
|
|
716
|
+
stroke: none;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/** clock gauge */
|
|
720
|
+
.rct-clock-gauge-face {
|
|
721
|
+
fill: var(--rct-clock-gauge-face-fill);
|
|
722
|
+
stroke: none;
|
|
723
|
+
}
|
|
724
|
+
.rct-clock-gauge-rim {
|
|
725
|
+
fill: var(--rct-clock-gauge-rim-fill);
|
|
726
|
+
stroke: var(--rct-clock-gauge-rim-stroke);
|
|
727
|
+
}
|
|
728
|
+
.rct-clock-gauge-tick {
|
|
729
|
+
stroke: var(--rct-clock-gauge-tick-stroke);
|
|
730
|
+
stroke-width: 2px;
|
|
731
|
+
}
|
|
732
|
+
.rct-clock-gauge-minor-tick {
|
|
733
|
+
stroke: var(--rct-clock-gauge-minor-tick-stroke);
|
|
734
|
+
stroke-width: 1px;
|
|
735
|
+
}
|
|
736
|
+
.rct-clock-gauge-tick-label {
|
|
737
|
+
stroke: none;
|
|
738
|
+
fill: var(--rct-clock-gauge-tick-label-fill);
|
|
739
|
+
font-size: 1em;
|
|
740
|
+
}
|
|
741
|
+
.rct-clock-gauge-pin {
|
|
742
|
+
fill: white;
|
|
743
|
+
stroke: #333;
|
|
744
|
+
stroke-width: 3px;
|
|
745
|
+
}
|
|
746
|
+
.rct-clock-gauge-hour {
|
|
747
|
+
fill: #333;
|
|
748
|
+
}
|
|
749
|
+
.rct-clock-gauge-minute {
|
|
750
|
+
fill: #333;
|
|
751
|
+
}
|
|
752
|
+
.rct-clock-gauge-second {
|
|
753
|
+
fill: #c00;
|
|
754
|
+
}
|
|
755
|
+
.rct-clock-gauge-label {
|
|
756
|
+
fill: var(--rct-clock-gauge-label-fill);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/** gauge scale */
|
|
760
|
+
.rct-gauge-scale-line {
|
|
761
|
+
stroke: #555;
|
|
762
|
+
fill: none;
|
|
763
|
+
}
|
|
764
|
+
.rct-gauge-scale-ticks {
|
|
765
|
+
stroke: #555;
|
|
766
|
+
}
|
|
767
|
+
.rct-gauge-scale-tick-labels {
|
|
768
|
+
font-size: 0.85em;
|
|
769
|
+
fill: #333;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/** linear gauge */
|
|
773
|
+
.rct-linear-gauge-background {
|
|
774
|
+
fill: #eee;
|
|
775
|
+
}
|
|
776
|
+
.rct-linear-gauge-value {
|
|
777
|
+
fill: green;
|
|
778
|
+
}
|
|
779
|
+
.rct-linear-gauge-band-tick-labels {
|
|
780
|
+
font-size: 0.85em;
|
|
781
|
+
fill: #333;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/** bullet gauge */
|
|
785
|
+
.rct-bullet-gauge-background {
|
|
786
|
+
fill: #eee;
|
|
787
|
+
}
|
|
788
|
+
.rct-bullet-gauge-value {
|
|
789
|
+
fill: #333;
|
|
790
|
+
}
|
|
791
|
+
.rct-bullet-gauge-target {
|
|
792
|
+
fill: #338;
|
|
793
|
+
}
|
|
794
|
+
.rct-bullet-gauge-label {
|
|
795
|
+
font-size: 1em;
|
|
796
|
+
fill: #333;
|
|
797
|
+
}
|
|
798
|
+
.rct-bullet-gauge-scale-line {
|
|
799
|
+
stroke: #333;
|
|
800
|
+
}
|
|
801
|
+
.rct-bullet-gauge-scale-ticks {
|
|
802
|
+
stroke: #333;
|
|
803
|
+
}
|
|
804
|
+
.rct-bullet-gauge-scale-tick-labels {
|
|
805
|
+
font-size: 0.9em;
|
|
806
|
+
fill: #333;
|
|
807
|
+
}
|
|
808
|
+
|
|
657
809
|
/** tooltip */
|
|
658
810
|
.rct-tooltip {
|
|
811
|
+
pointer-events: none;
|
|
659
812
|
opacity: 0.9;
|
|
660
813
|
}
|
|
661
814
|
.rct-tooltip-back {
|
|
@@ -675,13 +828,13 @@
|
|
|
675
828
|
}
|
|
676
829
|
.rct-crosshair-bar {
|
|
677
830
|
stroke: none;
|
|
678
|
-
fill: #
|
|
831
|
+
fill: #4488cc18;
|
|
679
832
|
}
|
|
680
|
-
.rct-crosshair-
|
|
833
|
+
.rct-crosshair-flag {
|
|
681
834
|
stroke: none;
|
|
682
|
-
fill: #
|
|
835
|
+
fill: #555;
|
|
683
836
|
}
|
|
684
|
-
.rct-crosshair-
|
|
685
|
-
stroke:
|
|
686
|
-
fill: #
|
|
837
|
+
.rct-crosshair-flag-text {
|
|
838
|
+
stroke: none;
|
|
839
|
+
fill: #fff;
|
|
687
840
|
}
|