νλ‘μ νΈ
μκ°
ππ Modern charts for Vue 2.0
μΉ λ° μ± κ°λ°What you can do
- It depends on several small submodules in D3, so it's very reliable and lightweight.
- The implementation for Vue.js, so it is composable and supports SSR.
μΈ‘μ λ μ€ν μ¦κ°
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- κΈ°λ‘ μμ§ μ€
μλ‘ κ²ΉμΉλ κΈ°κ°μ μμ¦κ°λμ΄λ©° μΌλ³ ν©κ³κ° μλλλ€. μΈ‘μ κ°μ΄ μμΌλ©΄ λΉμ λ‘λλ€. μ€νλ κ΄μ¬λλ₯Ό λνλ΄λ©° νμ§μ 보μ₯νμ§ μμ΅λλ€.
README.md
OriginalLaue
ππ Modern charts for Vue.js
Documentation: https://laue.js.org
Features
- It depends on several small submodules in D3, so it's very reliable and lightweight.
- The implementation for Vue.js, so it is composable and supports SSR.
Installation
npm i laue
Usage
import Vue from 'vue';
import { Laue } from 'laue';
Vue.use(Laue);
// On demand
import { Cartesian, Line } from 'laue';
Vue.component(Cartesian.name, Cartesian);
Vue.component(Line.name, Line);
Demo
A dead simple example
<div id="app">
<la-cartesian :width="300" :height="150" :data="values">
<la-line prop="pv"></la-line>
<la-y-axis></la-y-axis>
<la-x-axis prop="name"></la-x-axis>
<la-tooltip></la-tooltip>
</la-cartesian>
</div>
<script src="//unpkg.com/vue"></script>
<script src="//unpkg.com/laue"></script>
<script>
new Vue({
el: '#app',
data: () => ({
values: [
{ name: 'Page A', pv: 2000 },
{ name: 'Page B', pv: 3000 },
{ name: 'Page C', pv: 1200 }
]
})
})
</script>
Inspired
License
MIT
κ΄λ ¨ νλ‘μ νΈ μ΄ν΄λ³΄κΈ°
λΆλ¬μ€λ μ€β¦