New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

solid-echarts

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-echarts

Supercharge your Data Visualization in Solid. Powered by ECharts.

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

solid-echarts

solid-echarts

Supercharge your Data Visualization in Solid. Powered by ECharts.

📦 Installation

Yarn

yarn add solid-echarts

NPM

npm install solid-echarts --save

PNPM

pnpm install solid-echarts --save

Simple Usage

import SolidECharts from "solid-echarts";

<SolidECharts 
    option={option} 
    style={{ 
        width: "100%",
        height: "900px",
    }} 

/>

Replace option with your ECharts chart option.

Advanced Usage

For reduced bundle size:

import { SolidEChartsCore } from "solid-echarts";
import * as echarts from 'echarts/core';
import { LineChart } from 'echarts/charts';
import { GridComponent, TooltipComponent } from 'echarts/components';
import { CanvasRenderer } from 'echarts/renderers';

// Register only the components you need.
echarts.use([LineChart, GridComponent, TooltipComponent CanvasRenderer]);

<SolidEChartsCore 
    echarts={echarts}
    option={option} 
    style={{ 
        width: "100%",
        height: "900px",
    }} 
    opts={{ renderer: "canvas" }}
/>

Replace option with your ECharts chart option.

Keywords

solidjs

FAQs

Package last updated on 08 Aug 2023

Did you know?

Socket

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.

Install

Related posts