Questions tagged [apache-echarts]
134 questions
1
vote
1 answer
'Echarts' cannot assign both X-axis and Y-axis as type: value
I using Apache Echarts and have an issue using type: 'value' works in case of X-axis.
My code:
You can try here
option = {
xAxis: {
type: 'value',
data: [1.12, 2.19, 3.84, 3.47, 5.75, 6.76, 9.141],
},
yAxis: {
type: 'value'
},
series:…

lestat bhaskar
- 11
- 1
- 2
1
vote
1 answer
Draw Circle on EChart
I have the following Apache EChart:
var option = {
series: [
{
name: 'RollPitch',
type: 'gauge',
data: [
{
value: 0,
name: '',
itemStyle: { color:…

mrks
- 5,439
- 11
- 52
- 74
0
votes
0 answers
Force a 2 indexes ECharts plot to match 0 on both Y axis
I have the following plot, which uses two axes: one for the differences and another for the accumulative differences.
I would like to force that both y axis match on 0, scaling the second faster later (Note that now we have a 0:200 match)
I´ve been…

Rodrigo_V
- 130
- 7
0
votes
0 answers
Different background color for tooltip based on seriesIndex?
Below is my Apache Echarts tooltip. How can I have different backgroundColor based on my series Index? For example from seriesIndex 0-30 having white and > 30 to be red.
Also for my textStyle I want only the value to be bold (from the screenshot…

Strike
- 77
- 1
- 7
0
votes
1 answer
Echarts markLine doesn't appear. (Bar Chart)
im trying to create two markLines with my averages (yearly and last 13 weeks) the first markline will be my yearly average with a small tooltip position around January. My second one will be my last 13 weeks averages with a small position at around…

Strike
- 77
- 1
- 7
0
votes
0 answers
Removing top,bottom extra space without height changing?
Hello everyone is it possible to remove top and bottom white space without changing my chart height?
grid: {
bottom: 0,
top: 0,
}
The above is not a good option. Destroys my graph because height is auto I belive.
New screenshot with top and…

Strike
- 77
- 1
- 7
0
votes
1 answer
Is there someting similar with ApexCharts dashedArray for Echarts?
In ApexCharts there is a property inside stroke called dashedArray
dashArray: Number || Array of Numbers
Creates dashes in borders of svg path. Higher number creates more space between dashes in the border.
What this does if I have multiple series…

Strike
- 77
- 1
- 7
0
votes
1 answer
When data are zeros show on y axis only zeros. (ECharts)
Hello everyone here is my axisLabel formatter
yAxis: {
show: true,
type: "value",
min: 0,
// max: function (value) {
// return Math.ceil(value.max);
// },
axisLabel: {
…

Strike
- 77
- 1
- 7
0
votes
0 answers
Align checkmark at bottom right of heatmap cell
I am using ECharts specifically heatmap. The structure of heatmap data is [{x, y, label: "abc", confirmed: true/false}, ...]. If confirmed is true, I want to display a checkmark at the bottom right of cell. I have tried, but the checkmark is shown…

F_V
- 125
- 1
- 11
0
votes
0 answers
Apache ECharts multiple Y axis
I'm trying to use the Echarts library, and I need to draw a graph with different units of measurement on the Y axis. I've found two things I can't fix:
How do I adapt the Y-axis distance based on the maximum value automatically? I'm using the…

scorona85
- 97
- 6
0
votes
0 answers
How to add "double" border in Apache Echarts bar?
When hovering by mouse, I would to highlight the bar by adding more fancy border on the left and right side.
So I need to achieve something like this:

dominikj111
- 348
- 5
- 15
0
votes
0 answers
How to expand the rect mark point of the Apache Echarts to the bar full width?
I need to mark historical value on the bar chart, but I cannot find a way how to size the mark point to cover the bar in width.
So I need something like this:
Here is my current option mock codesandbox.io/p/sandbox/exciting-chatterjee-3p5938

dominikj111
- 348
- 5
- 15
0
votes
0 answers
Unable to download image with streamlit_echarts toolbox
I'm using streamlit_echarts in Python and the toolbox "saveAsImage" feature doesn't work. When I click on it, the toolbox disappears and nothing happens.
This behavior can be reproduced by running the following code:
from streamlit_echarts import…

Paul Ledesma
- 68
- 7
0
votes
0 answers
Echarts accessibility options for the visually impaired
Are there ready-made solutions or options for adapting generated/drawn plots (canvas, svg) for visually impaired people in Apache Echarts? I mean, for example, accessibility options for people with color blindness. Options like "invert colors",…

Monerig
- 51
- 3
0
votes
1 answer
Adding a highlight style to EChart Items?
In this line echart I'd like each symbol (The black dot) to turn white with a blue border when the symbol is hovered over.
This is the configuration for the chart.
data: this.data,
silent: true,
sampling: 'average',
…

Ole
- 41,793
- 59
- 191
- 359