question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems with Echart Radar

See original GitHub issue

Hello everyone,

I’m using Echarts Demo in order to produce a specific Radar Chart (with a json code), but i have several problems :

  • I want to add the “%” to all numbers (but not add the “%” in each values, maybe using “formatter”)
  • I want to define the width and heigth of all text, avoiding the text leaves the screen
  • I want to define for all number for not showing decimals (I already use parseInt(), but i need a global configuration)

Sorry, i’m not developper 😃

Can you help me please ? Thanks you !

I use this link : https://ecomfe.github.io/echarts-examples/public/editor.html?c=radar, and i copy past the following code :

`option = { “tooltip”: {}, “legend”: { “top”: 0, “center”: 0, “data”: [ “Initial”, “Final” ] }, “radar”: { “indicator”: [ { “max”: 100, “chapitre”: “1”, “color”: “#548235”, “niveau”: “1”, “text”: “text1text1text1text1text1text1text1text1” }, { “max”: 100, “chapitre”: “2”, “color”: “#00b067”, “niveau”: “2”, “text”: “text2text2text2text2text2text2text2text2” }, { “max”: 100, “chapitre”: “3”, “color”: “#9fbf65”, “niveau”: “3”, “text”: “text3” }, { “max”: 100, “chapitre”: “4”, “color”: “#0076d7”, “niveau”: “4”, “text”: “text4” }, { “max”: 100, “chapitre”: “5”, “color”: “#eb5740”, “niveau”: “5”, “text”: “text5text5text5text5text5text5text5text5” }, { “max”: 100, “chapitre”: “6”, “color”: “#cb0000”, “niveau”: “6”, “text”: “text6text6text6text6text6” } ] }, “series”: [ { “type”: “radar”, “data”: [ { “name”: “Initial”, “value”: [ “0.00”, “50.83”, “54.31”, “60.83”, “57.33”, “43.33” ], “label”: { “normal”: { “show”: true } }, “areaStyle”: { “normal”: { “opacity”: 0.3,

                    }
                },
                 "lineStyle": {
                  "normal": {
                     "type": "dashed"
                    }
                }
            },
            {
                "name": "Final",
                "symbol": "rect",
                "symbolSize": 3,
                "value": [
                    "0.00",
                    "53.75",
                    "58.89",
                    "54.00",
                    "60.00",
                    "65.00"
                ],
                
                "label": {
                    "normal": {
                        "show": true,
                    }
                },
                "areaStyle": null
                
            }
            
        ]
    }
]

};`

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
TomasDSDcommented, Oct 18, 2018

It WORK ! BIG THANKS @sxmpasch

0reactions
Nabeelhassancommented, Aug 11, 2021

hey @TomasDSD could you help me on this one? i am stuck on the same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems with Echart Radar · Issue #9251 - GitHub
Hello everyone,. I'm using Echarts Demo in order to produce a specific Radar Chart (with a json code), but i have several problems...
Read more >
subject:"\[GitHub\] sxmpasch commented on issue #9251\: Problems ...
sxmpasch commented on issue #9251: Problems with Echart Radar URL: https://github.com/apache/incubator-echarts/issues/9251#issuecomment-430974430 you could ...
Read more >
ECharts 5 Radar Chart as Configurable Function
Is it possible to know which input corresponds to which output in a transaction? Why don't airliner vertical tails extend to the very...
Read more >
Ghosts on the Radar — Why Radar Charts Are Easily Misread
Mali Akmanalp just wrote an interesting piece on how he used radar charts to solve a particular data viz problem. In general though,...
Read more >
E-CHART: Is Radar (Spider) Chart Supported in BI Publisher ?
Their is a Radar Chart (Spider chart) in BI Publisher. Will this be supported by Oracle GCS, if their is any issue in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found