/ Charts

vue-trend : a Simple, elegant spark lines for Vue.js

vue-trend : a Simple, elegant spark lines for Vue.js

vue-trend

a Simple, elegant spark lines for Vue.js.

The data accepted by Vue Trend is incredibly simple: An array of y-axis values to graph.

Vue Trend takes care of normalization, so don't worry about ensuring the data is in a specific range.

This does mean that all data points will be evenly-spaced. If you have irregularly-spaced data, it will not be properly represented.

As of v1.2.0, you may supply an array of data objects with a value property.

Live demo

GitHub