apache / incubator-kie-tools

Tools for KIE
Apache License 2.0
240 stars 169 forks source link

Dashbuilder echarts displayer shows black horizontal bar when loading charts that are not the demo bar chart #2081

Open StephenOTT opened 7 months ago

StephenOTT commented 7 months ago
image

using chrome.

datasets:
  - uuid: products
    content: >-
      [
        ["Computers", "Scanner", 5, 3],
        ["Computers", "Printer", 7, 4],
        ["Computers", "Laptop", 3, 2],
        ["Electronics", "Camera", 10, 7],
        ["Electronics", "Headphones", 5, 9]
      ]
    columns:
      - id: Section
      - id: Product
      - id: Quantity
        type: NUMBER
      - id: Quantity2
        type: NUMBER
pages:
- components:
    - displayer:
        component: echarts
        echarts:
            option: >-
                {
                "legend": {
                    "top": "bottom"
                },
                "toolbox": {
                    "show": true,
                    "feature": {
                    "mark": { "show": true },
                    "dataView": { "show": true, "readOnly": false },
                    "restore": { "show": true },
                    "saveAsImage": { "show": true }
                    }
                },
                "series": [
                    {
                    "name": "Nightingale Chart",
                    "type": "pie",
                    "radius": [50, 250],
                    "center": ["50%", "50%"],
                    "roseType": "area",
                    "itemStyle": {
                        "borderRadius": 8
                    }
                    }
                ]
                }
            title:
                text: Products
        external:
          width: 100%
        lookup:
          uuid: products
          group:
            - columnGroup:
                source: Product
              functions:
                - source: Product
                - source: Quantity
                - source: Quantity2
StephenOTT commented 7 months ago

another example

image
StephenOTT commented 7 months ago

Any insight into this issue? Is this a big or caused by a misconfiguration on my side?

StephenOTT commented 6 months ago

@jesuino any insights into this issue?

ederign commented 6 months ago

@StephenOTT, currently, we are short on people to address more general questions and fix Dashbuilder's general issues in the community. So, it may take a longer time to get back to you on this. Sorry about that.

Dashbuilder as a library is still part of our Serverless Workflow Dashboards/Monitoring.