echarts 雷达图类型定义问题

n53p2ov0  于 2022-12-31  发布在  Echarts
关注(0)|答案(3)|浏览(159)

Version

5.1.2

https://echarts.apache.org/examples/zh/editor.html?c=radar-custom

Steps to reproduce

const options: EChartsOption = {
           radar: [
               {
                   name: {
                       formatter: '{value}',
                       textStyle: {
                           color: '#72ACD1',
                       },
                   },
               },
           ],
       };

What is expected?

类型正确

What is actually happening?

类型错误

bqujaahr

bqujaahr1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list .

Have a nice day! 🍵

z4bn682m

z4bn682m2#

@crazyair It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗
TRANSLATED

TITLE

Radar chart type definition problem

yizd12fk

yizd12fk3#

Your code is working. Parameters formatter and textStyle are not documented for radar name. However, if you use this example and replace name with your code or the code below, result is correct.

name: {
         formatter: 'v= {value}',
         textStyle: { color: 'red' },
     },

相关问题