Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
KDesign Charts 是基于金蝶的企业级设计系统 KDesign 实现的echarts皮肤,简单易用。
$ npm i kd-charts --save
# 或者
$ yarn add kd-charts
import React from 'react';
import { DefaultOption } from './data/area';
import * as echarts from 'echarts';
import ReactECharts from 'echarts-for-react';
import defaultTheme from 'https://unpkg.com/@kdcloudjs/kd-charts@1.0.4/dist/echarts-theme-default.js';
function kcharts() {
echarts.registerTheme('defaultTheme', defaultTheme);
return (
<div>
<ReactECharts
option={DefaultOption}
theme={'defaultTheme'}
style={{ height: 320 * 2 + 'px' }}
/>
</div>
);
}
export default kcharts;
在浏览器中使用 script
和 link
标签直接引入文件。
使用:
<script src="echarts.js"></script>
<!-- 引入 vintage 主题 -->
<script src="theme/vintage.js"></script>
<script>
// 第二个参数可以指定前面引入的主题
var chart = echarts.init(document.getElementById('main'), 'vintage');
chart.setOption({
...
});
</script>
KDesign Charts 使用了 Apache License, Version 2.0. 详细 license 请查看 LICENSE
FAQs
KDesign Charts 是基于金蝶的企业级设计系统 KDesign 实现的echarts皮肤,简单易用。
The npm package kd-charts receives a total of 0 weekly downloads. As such, kd-charts popularity was classified as not popular.
We found that kd-charts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.