Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@alicloud/console-bar-chart
Advanced tools
目前柱状图只支持单轴,不支持双轴,在配置 yAxis
时需要注意。
import { ConsoleBarChart } from '@alicloud/console-chart';
MDXInstruction:importDemo:basic
MDXInstruction:importDemo:horizontal
MDXInstruction:importDemo:stack
MDXInstruction:importDemo:facet
MDXInstruction:importDemo:dodgeStack
MDXInstruction:importDemo:color
属性 | 说明 | 类型 | 默认值 | 说明 |
---|---|---|---|---|
name | 数据列名称 | String | - | - |
yAxis | 坐标轴下标 | Number | 0 | - |
data | 数据 | Array | - | - |
color | 自定义当前数据列颜色 | String | 主题color_24 | - |
dodge | 分组名 | String | - | 如使用需开启dodgeStack 配置 |
属性 | 说明 |
---|---|
padding | 配置绘图内边距 |
xAxis | 配置x轴 |
yAxis | 配置y轴 |
legend | 配置图例 |
guide | 配置辅助元素 |
tooltip | 配置提示信息 |
label | 配置图形文本 |
size | 配置自定义大小 |
style | 配置自定义样式 |
是否显示网格线,默认开启
。
数值范围为 0 至 1,用于调整分组中各个柱子的间距。
是否为分组柱状图。如开启该配置,需在数据列中配置dodge
是否水平展示柱状图。
是否为堆叠柱状图
是否使用镜面柱状图
FAQs
--- name: console-bar-chart zhName: 柱状图 ---
We found that @alicloud/console-bar-chart demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.