Questions tagged [apache-echarts]

134 questions
7
votes
1 answer

How to add gradient color in echarts?

I made a echart line graph. Now, I want to add gradient color to it, as shown below: In this link, it said it supports the setting as gradient color. But when I tried to do this as code given: It gave this error: What to do? Thanks in advance.
user16605035
6
votes
2 answers

How to remove padding from Pie Echarts?

I've searched through all similar questions but I couldn't find a solution. The Pie chart I've developed looks like below picture and I want to remove that empty space and force the chart to strech itself inside its container. The config: { grid:…
Pooria Han
  • 597
  • 1
  • 4
  • 19
5
votes
2 answers

EChart series with different tooltip

I have the following EChart in my Angular application: var option = { xAxis: { type: 'category', data: ["A", "B", "C", "D", "E"] }, yAxis: { type: 'value', }, tooltip: { trigger: 'axis', axisPointer: { …
mrks
  • 5,439
  • 11
  • 52
  • 74
4
votes
1 answer

Apache ECharts - Brush with line chart range selection

Setting up a line chart with line series and a horizontal selection brush (lineX) doesn't seem to provide a way of reading the selected range values. Changing the series type to bar or scatter seems to work as expected. I'm wondering if this is a…
tamersalama
  • 4,093
  • 1
  • 32
  • 35
3
votes
1 answer

Select a cell in a heatmap

I was looking at ECharts specifically cartesian heatmap. I want to select a particular cell in a heatmap and display its information. There is this property called selectedMode where we can set it to single for single selection, 'multiple' for…
F_V
  • 125
  • 1
  • 11
3
votes
1 answer

Apache ECharts not hiding axis pointer when programmatically hiding tooltip

I programmatically trigger a tooltip to show and to hide in my chart. I do this by dispatching the showTip and hideTip actions on the chart. showTip triggers a tooltip to show and shows the axisPointer as well. But when dispatching hideTip the…
Inbar Azulay
  • 247
  • 1
  • 4
  • 25
3
votes
1 answer

Echarts: How to display last label of xAxis?

How to show the last tick label of xAxis? Screenshot: chart image
kleopa
  • 35
  • 3
3
votes
1 answer

How to Check Node is Expand or Collapse in Apache Echarts Tree

I want to check node is Expand or Collapse on click. I checked click event but did not get any flag for Collapse or Expand chart.on('click', e => { // want to access here })
Aashish Chakravarty
  • 373
  • 1
  • 5
  • 14
2
votes
1 answer

How does the API for ECharts LinearGradient work?

As illustrated in this question we can add a linear gradient to an echart like this: areaStyle: { color: new graphic.LinearGradient(0, 0, 0, 1, [ { offset: 0, color: 'rgb(255, 158, 68)' …
Ole
  • 41,793
  • 59
  • 191
  • 359
2
votes
1 answer

How to change the font color and family only to vertical center aligned yaxis label in Apache Echarts

Thanks for the help in advance. I am using apache echarts for my react project. In it, I have a vertically center aligned y-axis label. I want to change its color and font family.The screenshot of my issue Code I tried yAxis: [ { …
ananthu
  • 71
  • 6
2
votes
1 answer

How can I have common tooltip for a grid in Apache echart?

I have two line charts in a grid so that I can have common zooming. Now, I want to have tooltip such that when I hover on one chart, tooltip popups in other as well. So, I can see, how the values are in both charts at the specific x-axis…
Selva
  • 951
  • 7
  • 23
2
votes
1 answer

Formatter AxisLabel ECharts, Format label value

I have used BAR chart from ECharts and now I want to format its Y-Axis value to some other value. Right now EChart generated my chart like above, But I want to display its Y-Axis value instead of 30,000 or 60,000 I want to display it as 30K, 60K,…
Soft Onz
  • 21
  • 5
2
votes
0 answers

Sonification using E Charts library

I am working on Sonification using Highcharts library. But I need implementation of Sonification using Apache ECharts library. Can anyone let me know how can I achieve this? Thanks.
Fresher
  • 21
  • 1
2
votes
2 answers

Dragging vertical markLines in Apache echarts

I want to add several vertical marklines to a line chart and allow users to do horizontal dragging, similar to this Highcharts example. Setting xAxis.axisPointer is useful in this sense. However, how can I allow the whole vertical line to be dragged…
AJMA
  • 1,134
  • 2
  • 13
  • 28
2
votes
0 answers

Is it possible to combine relatively small values into an "Other" category in Apache Echarts?

To demonstrate, please to this example page and paste the following chart configuration: option = { title: { text: 'Referer of a Website', subtext: 'Fake Data', left: 'center' }, tooltip: { trigger: 'item' }, legend: { …
JKasper11
  • 772
  • 1
  • 7
  • 21
1
2 3
8 9