echarts map migration and map drill-down

echarts map migration and map drill-down 1. Migration 1. Introduce Chinese map data and echarts const china = require(“./echarts-mapJson-master/china.json”) import * as echarts from ‘echarts’ 2. Data preparation //Point data If you need to hover or click to obtain data, you can add additional parameters. // For example, { value: [118.8062, 31.9208], code:’440100′, itemStyle: { […]

04-Echarts simplified series: Cartesian coordinate system xAxis and yAxis

For the X-axis and Y-axis in the graph, there are at most two x-axes in a grid. More than two axes need to be configured through the offset property. 1. xAxis and yAxis attribute configuration of coordinate system option={ xAxis:[ { id:’1′, //Component ID show:true, //Whether to display the x/y axis gridIndex:0, //The index of […]

5. QtCharts curve beautification

Article directory Effect ui settings dialog.h dialog.cpp Effect ui settings dialog.h #ifndef DIALOG_H #define DIALOG_H #include <QDialog> #include <QtCharts> #include <QLineSeries> #include <QGraphicsScene> #include <QTimer> #include <QSplineSeries> QT_BEGIN_NAMESPACE namespace Ui {<!– –> class Dialog; } QT_END_NAMESPACE class Dialog : public QDialog {<!– –> Q_OBJECT public: Dialog(QWidget *parent = nullptr); ~Dialog(); private: Ui::Dialog *ui; private: /** […]

Using ECharts in uni-app – Configuring four different charts

Blogger: The kitten is here ?The core of the article: Using ECharts in uni-app – Configuring four different charts Article directory Preface Install ECharts plug-in Introducing the ECharts library Create Charts instance and chart container Configure and render charts Configure histogram Configure line chart Configure pie chart Configure scatter plot Destroy chart instance Foreword Integrating […]

echarts force guide diagram_relationship diagram_knowledge diagram

Echarts commonly used various chart template configurations Note: This is mainly based on various charts and uses more various configuration items of Echarts; The following codes can be copied to the Echarts official website and previewed directly; Icon template directory Echarts commonly used various chart template configurations 1. Force guide chart 2. Donut chart 3. […]

echarts pie chart center add image

Requirements Problem – temporarily unsolvable (this problem does not exist if the chart is centered) Since the position of the pie chart here is not at the center of the current echarts chart container, but a little to the left, we need to set: The center image is located to the left [See – Main […]

03-Echarts simplified series: grid gird

Introduction to grid: One of the components used to define the chart drawing area. It is used to determine the position, size and scale of each graphic in the coordinate system area of the Echarts container, so that multiple grids can be defined in each chart. Each grid The grid is used for an independent […]

Echarts-3D histogram

Achieve true 3D histogram through Echarts’ echarts.graphic.extendShape The idea is to determine the width of the histogram by adjusting the top surface (CubeTop), left surface (CubeLeft), and right surface (CubeRight). It is recommended to adjust the top surface first. Generally, c1 does not need to be moved. // echarts-3D-bar-config.js import Vue from “vue”; const echarts […]