No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    zingchart refs error

    Framework
    2
    3
    137
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alidanial7 last edited by alidanial7

      Hi
      I made a quasar app with quasar-cli and i want to use Zingchart in it
      so i install it and import in to my components and used it like:

      <zingchart :data="barChart" ref="barChart" />
      

      the problem is wen i want to call zingchart functions with $ref i got an Error:

      TypeError: this.$refs.barChart.modify is not a function
      

      PS: i test my code without quasar (vue-cli app) and it works fine
      can any one please help me?😰

      1 Reply Last reply Reply Quote 0
      • T
        tof06 last edited by

        @alidanial7
        Is it a copy/paste error ? You have ref="barChart" and barCart (without h) in the error message.

        A 1 Reply Last reply Reply Quote 0
        • A
          alidanial7 @tof06 last edited by

          @tof06
          tnx
          i write it bad here but in my code it is fine and has no typo error

          1 Reply Last reply Reply Quote 0
          • First post
            Last post