Skip to content
Advertisement

Tag: echarts

Load eCharts Multiline with only one series selected by default

I have a multiline chart defined as follows: When clicking on a legend, it toggles the corresponding line. I would like to load this graph with one of the lines toggled “off” while displaying the others. Does echarts support that functionality? Answer In your legend object, create the ‘selected’ object with your legend names and set whichever ones you want

Panel – JSCallback function – Linking stream data to a JSObject in Echarts within a Panel dashboard

The goal is to stream data into panel and show the current temperature in a Gauge. Panel EChart Gauge Therefore I am using the callback function for the panel to retrieve a new temperature value and like to update the Gauge as well with the JSCallback function. Panel JSCallback Function I also looked into the following questions on stackoverflow: CustomJSCallback

how do I make all kinds of grids invisible in echart?

There are some horizontal lines in the background and I need remove it. I go to the grid section in the document, but I did not find anything related to this. Answer It might not be intuitive, but grid is not about the ‘grid’ in the background, it’s rather for positionning your chart(s) in a grid system. The grid in

Markpoint symbol echarts

Problem I use echarts to generates some graphs and I want to add symbols for certain events, I did it for min and max values of my chart however it give a symbol by default I was wondering whether I can change this symbol to another one or even add my own symbols. My Attempt I used this in my

Change the color of an individual node

is it possible to change an individual node’s colour in an eChart treemap? I tried assigning a color property but the color does not change. I’ve gotten the label to change but i want the overall background color I have tried by having a color property under series-treemap.data as the documentation says https://echarts.apache.org/en/option.html#series-treemap.data.color Answer As explained in the documentation, series-treemap.data.color

Is there a way on echarts to get the series colors

I’m using Echarts v5.2.2 (in an Angular project, with ngx-echarts) to render a line chart using multiple series. I have a listener for the ‘highlight’ event. This event is giving me an object with a batch of seriesIndex and dataIndex but it doesn’t provide the color of each series. Is there a way to get the colors that were dynamically

Display variable names when hovering a scatter plot

Here’s a plot made with {echarts4r} that comes from this answer on GitHub: As you can see, the name of the car model and the values are displayed when you hover a point. However, I don’t know how to display the variable names in the same way. I know I could manually replace “x-axis” and “y-axis” with their names but

Echarts: Plot the variance of signals

I want to plot the variance of multiple signals in a chart (or basically fillup the space between an upper and a lower signal). Is it possible to create such kind of charts? I saw the confidence-band example (https://echarts.apache.org/examples/en/editor.html?c=confidence-band) , however this seems to work only for one signal in a chart. Another solution would be to draw thousands of

Advertisement