New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

awesome-axis-chart

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-axis-chart

This project was echarts antd echarts-for-react component plugin perfect

Source
npmnpm
Version
0.0.35
Version published
Weekly downloads
17
466.67%
Maintainers
1
Weekly downloads
 
Created
Source

AxisChart

AxisChart组件是对于echarts、echarts-for-react组件的二次封装,它的初衷是出于对于echarts图表库的图表展示的"灵活" 导致对于不同场景的数据显示的图表产生的边框溢出显示问题,以及echarts本身的一些罕见少有的bug的解决 AxisChart最重要的不是它的配置参数调控,而是它内部的自动化尺寸处理足以应对大量各种数据层次的显示而使得图表的显示没有越出边界超出显示 它附带的各种参数化配置不是组件创始的本意,只是应对各种项目经理的奇葩需求应运而生的畸形配置

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Description

如果该项目启动页面没有正常显示,这个问题是因为浏览器安装了react-devtools扩展程序导致的 找到node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js这个文件, 找到报错的代码,直接注释导致报错的那一行:RefreshRuntime.injectIntoGlobalHook(safeThis); 然后重启, 这个报错,也是跟react版本有很大关系,记得老得版本好像不会出现这个问题。 另外对于webpack的版本可能启动出现相关版本问题, 按指定版本安装:npm i webpack@4.44.2 -D或者移除package.json里面的webpack依赖重新安装npm i即可

FAQs

Package last updated on 07 Mar 2022

Related posts