44 - Histogram
55---
66
7- import ContextProvider from ' ../../src/components/ContextProvider' ;
7+ import ContextProvider from " ../../src/components/ContextProvider" ;
88
99# Histogram
1010
11+ You might also be interested in [ Column Charts] ( /examples/column-chart ) and [ Bar Charts] ( /examples/bar-chart ) .
12+
1113## Simple Example
1214
1315<ContextProvider >
1416 { ({ branch , theme }) => (
1517 <iframe
1618 src = { ` https://codesandbox.io/embed/github/RakanNimer/react-google-charts/tree/${branch }/sandboxes/histogram/default?fontsize=14&hidenavigation=1&module=%2FApp.tsx&theme=${theme } ` }
1719 style = { {
18- width: ' 100%' ,
19- height: ' 500px' ,
20+ width: " 100%" ,
21+ height: " 500px" ,
2022 border: 0 ,
21- borderRadius: ' 4px' ,
22- overflow: ' hidden' ,
23+ borderRadius: " 4px" ,
24+ overflow: " hidden" ,
2325 }}
24- title = ' RakanNimer/react-google-charts: Histogram Simple Example'
25- allow = ' accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking'
26- sandbox = ' allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts'
27- loading = ' lazy'
26+ title = " RakanNimer/react-google-charts: Histogram Simple Example"
27+ allow = " accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
28+ sandbox = " allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
29+ loading = " lazy"
2830 ></iframe >
2931 )}
3032</ContextProvider >
@@ -36,16 +38,16 @@ import ContextProvider from '../../src/components/ContextProvider';
3638 <iframe
3739 src = { ` https://codesandbox.io/embed/github/RakanNimer/react-google-charts/tree/${branch }/sandboxes/histogram/buckets?fontsize=14&hidenavigation=1&module=%2FApp.tsx&theme=${theme } ` }
3840 style = { {
39- width: ' 100%' ,
40- height: ' 500px' ,
41+ width: " 100%" ,
42+ height: " 500px" ,
4143 border: 0 ,
42- borderRadius: ' 4px' ,
43- overflow: ' hidden' ,
44+ borderRadius: " 4px" ,
45+ overflow: " hidden" ,
4446 }}
45- title = ' RakanNimer/react-google-charts: Histogram Controlling Buckets'
46- allow = ' accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking'
47- sandbox = ' allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts'
48- loading = ' lazy'
47+ title = " RakanNimer/react-google-charts: Histogram Controlling Buckets"
48+ allow = " accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
49+ sandbox = " allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
50+ loading = " lazy"
4951 ></iframe >
5052 )}
5153</ContextProvider >
@@ -57,16 +59,16 @@ import ContextProvider from '../../src/components/ContextProvider';
5759 <iframe
5860 src = { ` https://codesandbox.io/embed/github/RakanNimer/react-google-charts/tree/${branch }/sandboxes/histogram/colors?fontsize=14&hidenavigation=1&module=%2FApp.tsx&theme=${theme } ` }
5961 style = { {
60- width: ' 100%' ,
61- height: ' 500px' ,
62+ width: " 100%" ,
63+ height: " 500px" ,
6264 border: 0 ,
63- borderRadius: ' 4px' ,
64- overflow: ' hidden' ,
65+ borderRadius: " 4px" ,
66+ overflow: " hidden" ,
6567 }}
66- title = ' RakanNimer/react-google-charts: Histogram Controlling Colors'
67- allow = ' accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking'
68- sandbox = ' allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts'
69- loading = ' lazy'
68+ title = " RakanNimer/react-google-charts: Histogram Controlling Colors"
69+ allow = " accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
70+ sandbox = " allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
71+ loading = " lazy"
7072 ></iframe >
7173 )}
7274</ContextProvider >
@@ -78,16 +80,16 @@ import ContextProvider from '../../src/components/ContextProvider';
7880 <iframe
7981 src = { ` https://codesandbox.io/embed/github/RakanNimer/react-google-charts/tree/${branch }/sandboxes/histogram/distribution?fontsize=14&hidenavigation=1&module=%2FApp.tsx&theme=${theme } ` }
8082 style = { {
81- width: ' 100%' ,
82- height: ' 500px' ,
83+ width: " 100%" ,
84+ height: " 500px" ,
8385 border: 0 ,
84- borderRadius: ' 4px' ,
85- overflow: ' hidden' ,
86+ borderRadius: " 4px" ,
87+ overflow: " hidden" ,
8688 }}
87- title = ' RakanNimer/react-google-charts: Histogram Distribution'
88- allow = ' accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking'
89- sandbox = ' allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts'
90- loading = ' lazy'
89+ title = " RakanNimer/react-google-charts: Histogram Distribution"
90+ allow = " accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
91+ sandbox = " allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
92+ loading = " lazy"
9193 ></iframe >
9294 )}
9395</ContextProvider >
@@ -99,16 +101,16 @@ import ContextProvider from '../../src/components/ContextProvider';
99101 <iframe
100102 src = { ` https://codesandbox.io/embed/github/RakanNimer/react-google-charts/tree/${branch }/sandboxes/histogram/multiple-series?fontsize=14&hidenavigation=1&module=%2FApp.tsx&theme=${theme } ` }
101103 style = { {
102- width: ' 100%' ,
103- height: ' 500px' ,
104+ width: " 100%" ,
105+ height: " 500px" ,
104106 border: 0 ,
105- borderRadius: ' 4px' ,
106- overflow: ' hidden' ,
107+ borderRadius: " 4px" ,
108+ overflow: " hidden" ,
107109 }}
108- title = ' RakanNimer/react-google-charts: Histogram Multiple Series'
109- allow = ' accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking'
110- sandbox = ' allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts'
111- loading = ' lazy'
110+ title = " RakanNimer/react-google-charts: Histogram Multiple Series"
111+ allow = " accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
112+ sandbox = " allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
113+ loading = " lazy"
112114 ></iframe >
113115 )}
114116</ContextProvider >
0 commit comments