문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 권한을 가진 사용자에게 제한됩니다: 사용자.
=== React 환경에서 highchart 사용 === * 설치 <source lang=python> npm install highcharts highcharts-react-official </source> <source lang=python> import React from 'react'; import Highcharts from 'highcharts'; import HighchartsReact from 'highcharts-react-official'; const options = { chart: { type: 'line' }, title: { text: 'React Highcharts Example' }, series: [{ data: [1, 2, 3, 4, 5] }] }; const App = () => <HighchartsReact highcharts={Highcharts} options={options} />; export default App; </source> === Vue 환경에서 사용 === * 설치: <source lang=python> npm install highcharts highcharts-vue </source> <source lang=html> <template> <highcharts :options="chartOptions"></highcharts> </template> <script> import Highcharts from 'highcharts'; import HighchartsVue from 'highcharts-vue'; export default { name: 'App', data() { return { chartOptions: { chart: { type: 'bar' }, title: { text: 'Vue Highcharts Example' }, series: [{ data: [1, 3, 2, 4] }] } }; } }; </script> </source> === Angular 환경에서 사용 === * 설치: <source lang=python> npm install highcharts-angular </source> <source lang=python> import { Component } from '@angular/core'; @Component({ selector: 'app-root', template: `<highcharts-chart [Highcharts]="Highcharts" [options]="chartOptions" style="width: 100%; height: 400px;"></highcharts-chart>` }) export class AppComponent { Highcharts = Highcharts; chartOptions = { chart: { type: 'line' }, title: { text: 'Angular Highcharts Example' }, series: [{ data: [1, 2, 3, 4, 5] }] }; } </source> [[category:python]] [[category:highchart]]
문서 저장 미리 보기 차이 보기 취소