• Stars
    star
    263
  • Rank 155,624 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ––๐Ÿ“ˆ Modern charts for Vue 2.0

Laue

Build Status Coverage Status npm

๐Ÿ––๐Ÿ“ˆ 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

More Repositories

1

vue-trend

๐ŸŒˆ Simple, elegant spark lines for Vue.js
JavaScript
1,191
star
2

vuep

๐ŸŽก A component for rendering Vue components with live editor and preview.
JavaScript
886
star
3

vue-markdown-loader

๐Ÿ“‡ Convert Markdown file to Vue2.0 component.
JavaScript
702
star
4

vuerify

๐ŸšฉValidation plugin for Vue.js
JavaScript
191
star
5

vue-region-picker

[DEPRECATED]
JavaScript
158
star
6

vuep.run

๐Ÿƒ An online playground for Vue2.0
Vue
140
star
7

npmarket

๐Ÿ›’ More efficient search for node packages.
Vue
93
star
8

jsdoc-vue

[โžก๏ธ https://github.com/Kocal/jsdoc-vuejs] A jsdoc plugin that parses *.vue files.
Vue
69
star
9

vue-tricks

Vue
47
star
10

donate

โค๏ธ Donate to @QingWei-Li
24
star
11

pue-loader

๐Ÿ A more pythonic javascript for Vue component file. (Pug + CoffeeScript + Stylus)
JavaScript
20
star
12

vue-delay

๐ŸŒ Delay rendering component for Vue.js
JavaScript
17
star
13

typer

โœ๏ธ A simplified publishing tool
TypeScript
12
star
14

vueo

๐ŸŸ Easy to get value from vue instance via object paths.
JavaScript
10
star
15

hostext

๐Ÿ”ก Text hosting service
JavaScript
9
star
16

vuetch

๐Ÿ‘ป [WIP]A Vue 2.0 component that fetches data from a http request.
JavaScript
8
star
17

theme-color

Material theme color generator.
JavaScript
7
star
18

2webpack2

๐Ÿ•ณ๏ธ Turn configuration of webpack 1 to 2
JavaScript
5
star
19

buble-jest

Jest plugin to use buble and babel(handle ES Modules) for transformation
JavaScript
5
star
20

highlightext

๐Ÿ’ก Highlight text service
JavaScript
4
star
21

noop-webpack-plugin

๐Ÿคทโ€โ™€๏ธ Webpack plugin that does nothing.
JavaScript
4
star
22

nft-swag

TypeScript
3
star
23

pue-syntax-highlight

Sublime Text syntax highlighting for single-file Vue components
3
star
24

htpl

A JavaScript templating engine uses Vue syntax.
TypeScript
3
star
25

vuea

๐Ÿ” Easy to drop or replace specified key in an array.
JavaScript
2
star
26

AutoBackupFolder

ๅฎšๆ—ถๆ‰“ๅŒ…ๅค‡ไปฝๆŒ‡ๅฎšๆ–‡ไปถๅคน็š„็จ‹ๅบ
C#
2
star
27

MagicCubeReduction-CFOP

็”จcfop่ฟ˜ๅŽŸ้ญ”ๆ–น๏ผŒ ็ฌฌไธ€ไธชc#ๅผ€ๅ‘็š„็จ‹ๅบ๏ผŒ็•™ไธชๅฟตๆƒณ
C#
2
star
28

Aha

[DEPRECATED] ้ญ”ๅ…ฝไธ–็•Œๆ‹ๅ–่กŒ่พ…ๅŠฉๅทฅๅ…ท๏ผˆๅฎขๆˆท็ซฏ๏ผ‰
JavaScript
2
star
29

ablog

A homework orz
TypeScript
2
star
30

qingwei-li.github.io

HTML
1
star
31

sort

ไธ€ไบ›sort็ฎ—ๆณ•็ปƒไน 
JavaScript
1
star
32

parsedate

Converts a value to a Date
JavaScript
1
star
33

Polish

[DEPRECATED]
JavaScript
1
star
34

global-bin-path

DEPRECATED
JavaScript
1
star
35

site

1
star