Yopadd / vue-chartist

Pluging chartist for vuejs
Do What The F*ck You Want To Public License
172 stars 21 forks source link

Can we use only vue-charist with only Series data? #31

Closed devjiro76 closed 5 years ago

devjiro76 commented 6 years ago

Coud I use this library with using only 'series' data? as Like 'http://gionkunz.github.io/chartist-js/getting-started.html#switching-axis-type' (Please see the code)

in this code,


  series: [[
    {x: 1, y: 100},
    {x: 2, y: 50},
    {x: 3, y: 25},
    {x: 5, y: 12.5},
    {x: 8, y: 6.25}
  ]]
}, {
  axisX: {
    type: Chartist.AutoScaleAxis,
    onlyInteger: true
  }
});```

There is no label info in array, but presented in Series array as 'x' coloumn.
Yopadd commented 5 years ago

Fix to the next release