Perspective Error

Hi All,

I’m a newbie on perspective app so i’m not familiar with some error.

Is anyone know what’s wrong with my pie chart because it just show Data Invalid. Check logs for details.

I checked the data on the pie chart and it seems right but here is the error.

Error: [Browser Thread: 54597] ERROR Perspective.Designer.Workspace - level: LEVEL_ERROR
message: “components.PieChart: Data invalid. Each pie section object must have a label (string) and a value (number)”
line_number: 12
source: “http://###.###.###.###:####/res/perspective/js/PerspectiveClient.abe48692434103eb3c07.js”

Thank you in advance.


Can you show a screenshot (or provide a project export) with the actual data you’re setting on the chart?

1 Like

Hi PGriffith,

I really appreciate your help so thanks a lot!

We already solved the problem.

I accidentally deleted my reply with the script, we figured out that on the line 89 on that script we need to make it as integer because it reads as string and i’m not sure why.