lafriks / vue-bar-graph

Simple and lightweight vue chart component without using chart library dependencies
5 stars 3 forks source link

Labels are not show, cont. #6

Closed dragon74 closed 3 years ago

dragon74 commented 3 years ago

Definition: vue-bar-graph :points="points" :width="400" :height="200" :show-x-axis="true" :show-values="true" :use-custom-labels="true"

And for example points are: [{label: 'AA', value: 0},{label: 'BB', value: 0}] Also tries adding the lables through the lables attribute... Note that I DO use 'use custom labels' Please do not close this, as this is urgent...if you need more info I shall provide it

lafriks commented 3 years ago

Sorry, I misunderstood what you want, you don't need :use-custom-labels="true":

    <vue-bar-graph
      :points="points"
      :width="400"
      :height="200"
      :show-x-axis="true"
      :show-values="true"
    />

Seems to be working just fine: attels

dragon74 commented 3 years ago

Works great! Thanksss!

On Thu, May 13, 2021, 12:53 Lauris BH @.***> wrote:

Sorry, I misunderstood what you want, you don't need :use-custom-labels="true":

<vue-bar-graph
  :points="points"
  :width="400"
  :height="200"
  :show-x-axis="true"
  :show-values="true"
/>

Seems to be working just fine: [image: attels] https://user-images.githubusercontent.com/165205/118109656-263a3480-b3ea-11eb-889f-f15b21a98d08.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lafriks/vue-bar-graph/issues/6#issuecomment-840450638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXXCLTSA65UOZANRKTUNETTNOOR5ANCNFSM442GVHNQ .