Echarts default settings icon when data is zero tile painting

Long time no write

Recently received a statistical function previously written are some of the most basic statistics

Cut the crap I put their problems listed for reference purposes only

___________________ __________________ I'm dividing line

This is done line chart and bar graph bar line switching function

Meng mud may know stacked bar is similar to the "cumulative" effect (Anyway, before I do not know, cai)

This occurs (back-end data suddenly gone. Not very obvious, please enlarge the picture)

When the data is 0 when I gave the minimum height barMinHeight: 1 to zero when such data will continue to draw graphics

When the data shown in FIG zero will continue to result in superposition over the whole height

So I need echarts provide me a tiled effect

 Need to set the display type toolbox in magicType is tiled on the document

Used this thing knows not just the bar can also be tiled tile line

If you write a will be the case on my page

 

 

 In other words, whether a line chart or bar graph are stacked state beginning after clicking on the tile will be tiled state

In other words tile is based on the type of line graphs and histograms on the type of tile does not only to a bar / line type

Only to re-find method

This time we can direct our series in the stack into tiled and our magicType type of tiled removed

So you can see this effect the

over ~~~~

Guess you like

Origin www.cnblogs.com/WoAiZmm/p/11041309.html