Skip to content

Instantly share code, notes, and snippets.

View jesuino's full-sized avatar

William Antônio Siqueira jesuino

View GitHub Profile
[wsiqueir@localhost dashbuilder]$ git diff main -- package.json
diff --git a/packages/dashbuilder/package.json b/packages/dashbuilder/package.json
index cab6d7deea..4cad645570 100644
--- a/packages/dashbuilder/package.json
+++ b/packages/dashbuilder/package.json
@@ -11,6 +11,9 @@
"files": [
"**/dist/*"
],
+ "dependencies": {
properties:
apiBaseUrl: https://api.coingecko.com/api/v3/coins
vs_currency: USD
days: 100
interval: hourly
chartWidth: 400px
chartHeight: 300px
chartConfiguration: >-
>-
{
datasets:
- uuid: bitcoin
expression: $.prices
url: https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=USD&days=10&interval=hourly
columns:
- id: Year
type: label
- id: Price
type: number
pages:
datasets:
- uuid: pop
url: /nubank-2022-05.csv
columns:
- id: date
type: label
- id: category
type: label
- id: receiver
type: label
diff --git a/packages/build-env/graph.dot b/packages/build-env/graph.dot
index 6931f56f58..238d0554f5 100644
--- a/packages/build-env/graph.dot
+++ b/packages/build-env/graph.dot
@@ -180,6 +180,7 @@ digraph G {
"@kie-tools/swf-sandbox" -> "@kie-tools/i18n-common-dictionary" [ style = "solid", color = "black" ];
"@kie-tools/swf-sandbox" -> "@kie-tools/kie-sandbox-fs" [ style = "solid", color = "black" ];
"@kie-tools/swf-sandbox" -> "@kie-tools/serverless-workflow-editor" [ style = "solid", color = "black" ];
+ "@kie-tools/swf-sandbox" -> "@kie-tools/dashbuilder-editor" [ style = "solid", color = "black" ];
"@kie-tools/swf-sandbox" -> "@kie-tools/text-editor" [ style = "solid", color = "black" ];
datasets:
- uuid: pop
content: >-
[
['Hello', 'World']
]
pages:
- components:
- settings:
dataSetLookup:
datasets:
- uuid: pop
url: /datasets/population.json
pages:
- components:
- settings:
component: echarts
echarts:
option: >-
{
@jesuino
jesuino / echarts test.dash.yaml
Last active May 13, 2022 16:59
echarts provider testing
datasets:
- uuid: pop
url: /datasets/population.json
pages:
- components:
- settings:
component: echarts
echarts:
option: >-
{
datasets:
- uuid: pop
url: /datasets/population.json
pages:
- components:
- html: Countries Population
properties:
font-size: xx-large
margin-bottom: 100px
- settings:
datasets:
- uuid: pop
url: /datasets/population.json
pages:
- components:
- settings:
type: EXTERNAL_COMPONENT
external_component_id: simplest_component
simplest_component:
age: '34'