Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Errors and Invalid Props #1

Open
theaarontaylor opened this issue Jul 23, 2017 · 1 comment
Open

Type Errors and Invalid Props #1

theaarontaylor opened this issue Jul 23, 2017 · 1 comment

Comments

@theaarontaylor
Copy link

Hi, I'm getting some errors

  • invalid expression: :bar-color="#ef1e25"

screen shot 2017-07-23 at 5 53 58 pm

It seems like false isn't an option for scaleColor.

Here's where I import it

import VueEasyPieChart from 'vue-easy-pie-chart'
import 'vue-easy-pie-chart/dist/vue-easy-pie-chart.css'

export default {
  name: 'RefundClaims',
  data () {
    return {
    }
  },
  components: {
    VueEasyPieChart
  },

And the component

<vue-easy-pie-chart :percent="currentDomain.refundclaimSuccessRate" :line-width="7" :font-size="50" :scale-color="false" >
</vue-easy-pie-chart>

Is there something I'm doing wrong? Thanks

@358660199
Copy link

:percent="result.score" bar-color='#ffffff' track-color="#f06467" :scale-length="0" :line-width="5" :size="200" :rotate="220" animate="800"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants