playbook_ui 13.22.0.pre.alpha.pbntr254barchartnegativenumber2640 → 13.22.0.pre.alpha.playbookgemspecrailsversion2608
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +0 -9
- data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +0 -2
- data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +0 -2
- data/dist/playbook-rails.js +4 -4
- data/lib/playbook/version.rb +1 -1
- metadata +2 -6
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb +0 -23
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx +0 -35
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.html.erb +0 -22
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c894084e0c1cc07610f03f36b5b43f12d06424972c05f2df62ede911084d298
|
4
|
+
data.tar.gz: b4205145f75c04ae2c6aaf96a4df45a997d66d021ecba6109d70e457b6b24d06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26098e286c2d7a637eeaef8c45707cbada6ce224b2f99bbb7fdca1c7b171ffaded0d6c3aa03b5334740435a841dcdcbcbdaaadfb93c741e975215ff5f8fc0ca7
|
7
|
+
data.tar.gz: d37f71b2b857b5d475f16228602ed2b6cabd796ee29c15e501a5c415b59b06b6bda5665d324725cb1090aaa7693abcb7de6508ac0b78419145c35de2ad2a5f3b
|
@@ -37,7 +37,6 @@ type BarGraphProps = {
|
|
37
37
|
y?: number;
|
38
38
|
aria?: { [key: string]: string };
|
39
39
|
data?: { [key: string]: string };
|
40
|
-
stacking?: "normal" | "percent"
|
41
40
|
};
|
42
41
|
|
43
42
|
|
@@ -54,7 +53,6 @@ const BarGraph = ({
|
|
54
53
|
customOptions = {},
|
55
54
|
id,
|
56
55
|
pointStart,
|
57
|
-
stacking,
|
58
56
|
subTitle,
|
59
57
|
type = "column",
|
60
58
|
title = "Title",
|
@@ -97,11 +95,6 @@ const BarGraph = ({
|
|
97
95
|
title: {
|
98
96
|
text: axisTitle,
|
99
97
|
},
|
100
|
-
plotLines: typeof yAxisMin !== 'undefined' && yAxisMin !== null ? [] : [{
|
101
|
-
value: 0,
|
102
|
-
zIndex: 10,
|
103
|
-
color: "#E4E8F0"
|
104
|
-
}],
|
105
98
|
},
|
106
99
|
xAxis: {
|
107
100
|
categories: xAxisCategories,
|
@@ -120,9 +113,7 @@ const BarGraph = ({
|
|
120
113
|
: highchartsTheme.colors,
|
121
114
|
plotOptions: {
|
122
115
|
series: {
|
123
|
-
stacking: stacking,
|
124
116
|
pointStart: pointStart,
|
125
|
-
borderWidth: stacking ? 0 : "",
|
126
117
|
events: {},
|
127
118
|
dataLabels: {
|
128
119
|
enabled: false,
|
@@ -14,7 +14,6 @@ module Playbook
|
|
14
14
|
values: %w[vertical horizontal],
|
15
15
|
default: "vertical"
|
16
16
|
prop :point_start, type: Playbook::Props::Numeric
|
17
|
-
prop :stacking
|
18
17
|
prop :subtitle
|
19
18
|
prop :title
|
20
19
|
prop :x_axis_categories, type: Playbook::Props::Array,
|
@@ -50,7 +49,6 @@ module Playbook
|
|
50
49
|
dark: dark ? "dark" : "",
|
51
50
|
type: chart_type,
|
52
51
|
title: title,
|
53
|
-
stacking: stacking,
|
54
52
|
subTitle: subtitle,
|
55
53
|
axisTitle: axis_title,
|
56
54
|
pointStart: point_start,
|
@@ -9,8 +9,7 @@ examples:
|
|
9
9
|
- bar_graph_spline: Spline
|
10
10
|
- bar_graph_colors: Color Overrides
|
11
11
|
- bar_graph_custom: Custom Overrides
|
12
|
-
|
13
|
-
- bar_graph_negative_numbers: Negative Numbers
|
12
|
+
|
14
13
|
|
15
14
|
react:
|
16
15
|
- bar_graph_default: Default
|
@@ -21,5 +20,3 @@ examples:
|
|
21
20
|
- bar_graph_spline: Spline
|
22
21
|
- bar_graph_colors: Color Overrides
|
23
22
|
- bar_graph_custom: Custom Overrides
|
24
|
-
- bar_graph_stacked: Stacked
|
25
|
-
- bar_graph_negative_numbers: Negative Numbers
|
@@ -6,5 +6,3 @@ export { default as BarGraphHeight } from './_bar_graph_height.jsx'
|
|
6
6
|
export { default as BarGraphSpline } from './_bar_graph_spline.jsx'
|
7
7
|
export { default as BarGraphColors } from './_bar_graph_colors.jsx'
|
8
8
|
export { default as BarGraphCustom } from './_bar_graph_custom.jsx'
|
9
|
-
export { default as BarGraphStacked } from './_bar_graph_stacked.jsx'
|
10
|
-
export { default as BarGraphNegativeNumbers } from './_bar_graph_negative_numbers.jsx'
|