Charts configuration: pyecharts configuration documents

Chart initialization

The parameter a chart type initialize accept (the same to all the chart type).

General options

All general configurations are set inadd()

xyAxis

x, y axis in cartesian coordinate system (Line, Bar, Scatter, EffectScatter, Kline)

dataZoom

dataZoom components for zoom-in and zoom-out. With them, it is possible to magnify a small area, to see the overall picture or to stay away from scattered points(Line, Bar, Scatter, EffectScatter, Kline)

Default dataZoom control bar * is_datazoom_show -> bool
Whether to use the area zoom component, default is False

Extra dataZoom control strip * is_datazoom_extrashow -> bool
Whether to use the extra area zoom component, default is False

legend

legend component has different symbol, color and name, and provide the interactive clicking functions to show or hide its associated data series.

label

Text string on the chart, for marking the charts with sensible details, such as value, name.

Note: is_random random disorganize legend colour and list,it's kind of switch style? try it.

lineStyle

line style for Line, Polar, Radar, Graph, Parallel.

grid3D

gird3D components in cartesian coordinate system (Bar3D, Line3D, Scatter3D, Surface3D)

axis3D

3D Cartesian coordinate system X, Y, Z axis configuration items for 3D graphics. (Bar3D, Line3D, Scatter3D, Surface3D)

3D X-axis

3D Y-axis

3D Z axis

visualMap

It is a type of component for visual encoding, which maps the data to visual channels.

tooltip

Tip box component for popping data content when moving or clicking the mouse

markLine-markPoint

Graphic mark component for marking specified special data. There are marker line and marker point (Bar, Line, Kline)

toolbox

The right utility toolbox

If you have read this document, you can read further Chart Basic