vue-chrts 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,12 +9,33 @@ A Vue 3 charts package inspired by [Tremor](https://tremor.so/), built on top of
9
9
  ## Features
10
10
 
11
11
  - 📊 Multiple chart types: Line, Bar, Area, Stacked Area, Donut
12
- - 🎨 Customizable appearance
12
+ - 🎨 Customizable
13
13
  - 📱 Responsive design
14
14
  - 💡 Simple, intuitive API
15
15
  - 🚀 Built with Vue 3 and TypeScript
16
16
 
17
- ## Installation
17
+
18
+ [Check the docs and examples](https://nuxtcharts.com/docs)
19
+
20
+ ## Installation Nuxt
21
+
22
+ ```bash
23
+ # npm
24
+ npm install nuxt-charts
25
+
26
+ # yarn
27
+ yarn add nuxt-charts
28
+
29
+ # pnpm
30
+ pnpm add nuxt-charts
31
+
32
+ # Add module to your nuxt.config.ts
33
+ export default defineNuxtConfig({
34
+ modules: ["nuxt-charts"]
35
+ });
36
+ ```
37
+
38
+ ## Installation Vue.js
18
39
 
19
40
  ```bash
20
41
  # npm
@@ -25,7 +46,12 @@ yarn add vue-chrts
25
46
 
26
47
  # pnpm
27
48
  pnpm add vue-chrts
49
+
50
+ # import component
51
+ import { LineChart } from 'vue-chrts';
52
+
28
53
  ```
54
+
29
55
  [Check the docs and examples](https://nuxtcharts.com/docs)
30
56
 
31
57
  ## Usage Example
@@ -103,10 +103,10 @@ const S = /* @__PURE__ */ v({
103
103
  label: e.yLabel,
104
104
  "grid-line": e.orientation !== i(o).Horizontal && e.yGridLine,
105
105
  "domain-line": !!e.yDomainLine,
106
- "tick-format": () => "",
106
+ "tick-format": e.yFormatter,
107
107
  "num-ticks": e.yNumTicks,
108
108
  "tick-line": e.yTickLine
109
- }, null, 8, ["label", "grid-line", "domain-line", "num-ticks", "tick-line"])
109
+ }, null, 8, ["label", "grid-line", "domain-line", "tick-format", "num-ticks", "tick-line"])
110
110
  ]),
111
111
  _: 1
112
112
  }, 8, ["height"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-chrts",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"