Home > front end >  Echarts pie to the gap between the plates
Echarts pie to the gap between the plates

Time:12-10


How to make a figure 2 figure

CodePudding user response:

Provide two kinds of ideas, for reference:
1, processing data, using the null value or the minimum value, setting specifies the fan color;
2, set the sector border, and combined with the background color for processing,

CodePudding user response:

There is a
echartsSeries: [
{
Name: 'access to source,
Type: 'pie',
the radius: [' 50% ', '70%'],
AvoidLabelOverlap: false,
Label: {
Normal: {
Show: false,
Position: 'center'
},
Emphasis: {
Show: true,
TextStyle: {
FontSize: '30',
FontWeight: 'bold'
}
}
},
LabelLine: {
Normal: {
Show: false
}
},
Data: [
{value: 335, name: 'direct access to the'},
{value: 310, name: "email marketing"},
{value: 234, name: 'advertising'},
{value: 135, name: 'video ads'},
{value: 1548, name: 'search engines'}
]
}
]
Red font is the width of the ring, is 70% of the garden outside, inside empty blank circle of 50%

CodePudding user response:

Setting percentage, in the example code a few percentage points,
Among you this is called cyclic graph, pie chart is substantial, just effect a map or a cake, a percentage to 0

CodePudding user response:

ItemStyle: {
Normal: {
BorderWidth: 5,
BorderColor: '# FFF,
}
}

CodePudding user response:

Set the border

CodePudding user response:

The layers of round, each module is different color also how

CodePudding user response:

How to set up a boxer into rounded corners?

CodePudding user response:

You the pie chart, each cake piece in the middle and line, have stereo feeling, how did brother who can share the source code, although in the past so long, has the brother, please remember how make
  • Related