grafana / piechart-panel

Pie Chart Panel Plugin
MIT License
151 stars 101 forks source link

TypeError: can't assign to property "color" on "Array": not an object #202

Open motoko89 opened 5 years ago

motoko89 commented 5 years ago

We are using Grafana 6.4.2 and Piechart 1.3.9. Table type for the same query works fine but Piechart shows error:

Unable to find application file
Grafana has likely been updated. Please try reloading the page.
TypeError: can't assign to property "color" on "Array": not an object

    in t
    in div
    in div
    in r
    in l
    in div
    in div
    in div
    in t
    in t
    in div
    in t
    in t
    in div
    in div
    in t
    in Connect(t)
    in div
    in t
    in div
    in e
    in DraggableCore
    in e
    in div
    in ReactGridLayout
    in Unknown
    in SizeMeReferenceWrapper
    in SizeMeRenderer(Component)
    in SizeMe(Component)
    in e
    in div
    in div
    in div
    in t
    in t
    in div
    in div
    in e
    in Connect(e)
    in Suspense
    in t
    in Unknown
    in d
    in Unknown
    in Unknown
    in t
    in t
    in a

This is chart default settings. I have looked into https://github.com/grafana/grafana/issues/19583 but it should be fixed in 6.4.2 and looks like this is not the same?

stevepro-lab commented 5 years ago

Yea, same issue for me as-well. Any update?

briangann commented 5 years ago

taking a look

stevepro-lab commented 5 years ago

If It help, I get below error

TypeError: this.datapoints is undefined

    in t
    in div
    in div
    in r
    in l
    in div
    in div
    in div
    in t
    in t
    in div
    in t
    in t
    in div
    in div
    in t
    in Connect(t)
    in div
    in t
    in div
    in e
    in DraggableCore
    in e
    in div
    in ReactGridLayout
    in Unknown
    in SizeMeReferenceWrapper
    in SizeMeRenderer(Component)
    in SizeMe(Component)
    in e
    in div
    in div
    in div
    in t
    in t
    in div
    in div
    in e
    in Connect(e)
    in Suspense
    in t
    in Unknown
    in d
    in Unknown
    in Unknown
    in t
    in t
    in a
stevepro-lab commented 5 years ago

@briangann Any update on this issue?

Jugurtha13 commented 5 years ago

Hello,

Same issue for me Thank you for the correction

melvsparks commented 4 years ago

I'm getting the same issue

melvsparks commented 4 years ago

We can't even use the pie chart graph anymore

qarmin commented 4 years ago

I still have stack trace like dappalyzer. I just selected pie chart and set "Group by" to Terms and "select field" to source

jb507 commented 4 years ago

Puts! Nao podemos definir cor????