갈푸라떼
갈푸라떼는 개발중
갈푸라떼
전체 방문자
오늘
어제
  • 분류 전체보기 (232)
    • CS (0)
      • CSinfo (0)
    • Frontend (15)
      • HTML,CSS (1)
      • Javascript (2)
      • React (0)
      • React Hook (12)
    • Backend (0)
      • Python (0)
      • Node.js (0)
      • php (0)
    • DB (2)
      • MySQL (2)
      • BigQuery (0)
      • Mongodb (0)
    • Study (186)
      • JavaScript (72)
      • JavaScript(Clean code) (50)
      • Node.js (11)
      • HTML,CSS (13)
      • React (30)
      • TypeScript (10)
      • React-Native (0)
    • Error (2)
      • error (2)
    • Git (22)
      • Git (22)
    • Help Coding (4)
      • Useful websites (3)

블로그 메뉴

  • 홈
  • 태그
  • 방명록
  • Github

공지사항

인기 글

태그

  • 싱글스레드
  • nodemon
  • 렉시컬 환경
  • PM2
  • 오버라이딩
  • prototype
  • symbol
  • Babel
  • 실행 컨텍스트
  • ECMAScript
  • SPREAD
  • 컴파일러
  • 프로토타입
  • function
  • 이터러블
  • structure
  • this
  • 자바스크립트엔진
  • 상속
  • 함수
  • 인터프리터
  • 정적 레벨
  • 심볼
  • 네이밍
  • Arrow
  • class
  • 스코프 체인
  • 객체타입
  • 원시타입
  • 호이스팅

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
갈푸라떼

갈푸라떼는 개발중

[Chart_library] apexcharts (그래프 작성 라이브러리)
Help Coding

[Chart_library] apexcharts (그래프 작성 라이브러리)

2022. 7. 25. 17:06

* apexcharts

  • https://apexcharts.com/
  • 그래프를 쉽게 작성할 수 있게 도와주는 라이브러리
  • angular, react, vue전부 호환이 된다.
  • 글쓴이는 주로 React를 많이 사용한다.
  • 사용법이 정말 간단하며 디자인 또한 이쁘다.
npm install --save react-apexcharts apexcharts

 

 

 

ApexCharts.js - Open Source JavaScript Charts for your website

ApexCharts is a a free and open-source modern charting library that helps developers to create beautiful and interactive visualizations for web pages.

apexcharts.com


* apexcharts 간단 예시코드

import Chart from "react-apexcharts";

<Chart 
  type="line"
  series={[
    {
      name: "Price",
      data: [10, 20, 20, 30, 10],
    },
  ]}
  options={{
    chart: { height: 500, width: 500, toolbar: { show: false } },
    theme: { mode: "dark" },
    stroke: {
      curve: "smooth",
      width: 4,
    },
  }}
/>
    갈푸라떼
    갈푸라떼

    티스토리툴바