diff --git a/src/bundle/Resources/encore/ez.js.config.js b/src/bundle/Resources/encore/ez.js.config.js
index e8cf4c39a1..f5e81adc39 100644
--- a/src/bundle/Resources/encore/ez.js.config.js
+++ b/src/bundle/Resources/encore/ez.js.config.js
@@ -20,6 +20,7 @@ const layout = [
path.resolve(__dirname, '../public/js/scripts/core/base.chart.js'),
path.resolve(__dirname, '../public/js/scripts/core/line.chart.js'),
path.resolve(__dirname, '../public/js/scripts/core/pie.chart.js'),
+ path.resolve(__dirname, '../public/js/scripts/core/bar.chart.js'),
path.resolve(__dirname, '../public/js/scripts/core/adaptive.items.js'),
path.resolve(__dirname, '../public/js/scripts/core/popup.menu.js'),
path.resolve(__dirname, '../public/js/scripts/core/tag.view.select.js'),
diff --git a/src/bundle/Resources/public/img/ibexa-icons.svg b/src/bundle/Resources/public/img/ibexa-icons.svg
index 56b08378b4..86a04cda40 100644
--- a/src/bundle/Resources/public/img/ibexa-icons.svg
+++ b/src/bundle/Resources/public/img/ibexa-icons.svg
@@ -247,6 +247,9 @@
+
+
+
diff --git a/src/bundle/Resources/public/img/icons/database.svg b/src/bundle/Resources/public/img/icons/database.svg
new file mode 100644
index 0000000000..6576b527df
--- /dev/null
+++ b/src/bundle/Resources/public/img/icons/database.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/src/bundle/Resources/public/js/scripts/core/bar.chart.js b/src/bundle/Resources/public/js/scripts/core/bar.chart.js
new file mode 100644
index 0000000000..e821029076
--- /dev/null
+++ b/src/bundle/Resources/public/js/scripts/core/bar.chart.js
@@ -0,0 +1,31 @@
+(function(global, doc, eZ) {
+ const barDefaultOptions = {
+ scales: {
+ xAxes: [
+ {
+ display: true,
+ gridLines: {
+ display: false,
+ },
+ },
+ ],
+ },
+ };
+
+ class BarChart extends eZ.core.BaseChart {
+ constructor(data, options = {}) {
+ super(data, {
+ ...barDefaultOptions,
+ ...options,
+ });
+
+ this.type = 'bar';
+ }
+
+ getType() {
+ return this.type;
+ }
+ }
+
+ eZ.addConfig('core.chart.BarChart', BarChart);
+})(window, window.document, window.eZ);
diff --git a/src/bundle/Resources/public/js/scripts/core/line.chart.js b/src/bundle/Resources/public/js/scripts/core/line.chart.js
index aff753df3f..9203b8ed83 100644
--- a/src/bundle/Resources/public/js/scripts/core/line.chart.js
+++ b/src/bundle/Resources/public/js/scripts/core/line.chart.js
@@ -70,4 +70,4 @@
}
eZ.addConfig('core.chart.LineChart', LineChart);
-})(window, window.document, window.eZ, window.Chart);
+})(window, window.document, window.eZ);
diff --git a/src/bundle/Resources/public/js/scripts/core/pie.chart.js b/src/bundle/Resources/public/js/scripts/core/pie.chart.js
index ed61afcbfa..86a9bbb83b 100644
--- a/src/bundle/Resources/public/js/scripts/core/pie.chart.js
+++ b/src/bundle/Resources/public/js/scripts/core/pie.chart.js
@@ -12,4 +12,4 @@
}
eZ.addConfig('core.chart.PieChart', PieChart);
-})(window, window.document, window.eZ, window.Chart);
+})(window, window.document, window.eZ);