Skip to content

Commit

Permalink
Support for Kibana 7.3.0 (uniberg#9)
Browse files Browse the repository at this point in the history
* [sankey]: Support for kibana 7.3.0

*  Add the Fontawsome dependency.

* Change the 'icon' attribute to the 'image' attribute which supports svg image.
  • Loading branch information
ch-bas authored Sep 10, 2019
1 parent 975d675 commit 9791658
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kibana Sankey Diagram Plugin

This is a sankey diagram visType plugin for Kibana 6.8+.
This is a sankey diagram visType plugin for Kibana 7.x.

This plugin was developped from <https://github.com/elastic/kibana/pull/4832>.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kbn_sankey_vis",
"version": "6.8.0",
"version": "7.3.0",
"authors": [
"Chenryn <[email protected]>",
"Ch-bas <[email protected]>"
Expand All @@ -18,6 +18,7 @@
"json-stable-stringify": "^1.0.1"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.10.2",
"mocha": "~5.0.4",
"nyc": "^13.3.0"
}
Expand Down
6 changes: 2 additions & 4 deletions public/kbn_sankey_vis.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

import 'ui/agg_table';
import 'ui/agg_table/agg_table_group';
import random from '@fortawesome/fontawesome-free/svgs/solid/random.svg';

import 'plugins/kbn_sankey_vis/kbn_sankey_vis.less';
import 'plugins/kbn_sankey_vis/kbn_sankey_vis_controller';
Expand All @@ -18,7 +16,7 @@
return VisFactory.createAngularVisualization({
name: 'kbn_sankey',
title: 'Sankey Diagram',
legacyIcon: 'fa-random',
image: random,
description: 'Sankey charts are ideal for displaying the material, energy and cost flows.',
visConfig: {
defaults: {
Expand Down

0 comments on commit 9791658

Please sign in to comment.