# Bar chart and pie chart Vision data type

**URL:** <https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 18, 2024, 3:37pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496 "2024-03-18T15:37:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![denny\_jimenez](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@denny\_jimenez](https://forum.inductiveautomation.com/u/denny_jimenez)\
**Post date:** [March 18, 2024, 3:37pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/1 "2024-03-18T15:37:42Z")

</div>

I have the following problem with bar chart or pie chart type graphics in Vision, ignition 8. All Datasets come by default as integer type data in the data property. When trying to dynamize by a "Cell update" and assign a TAG, the chart gives an error, I think it is possible because all the data types of my project are "Double" and in other cases "Float". I very much appreciate the help of the forum.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 18, 2024, 4:05pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/2 "2024-03-18T16:05:48Z")

</div>

Post the actual error, because it's almost certainly not the data types, as the charts will happily coerce anything that's sufficiently close to a number.

---

<div class="post-metadata">

**Author:** ![denny\_jimenez](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@denny\_jimenez](https://forum.inductiveautomation.com/u/denny_jimenez)\
**Post date:** [March 18, 2024, 4:11pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/3 "2024-03-18T16:11:41Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/8/5870440d80b2939051f0a28dfbbd26e5b9bdde47.png)

---

<div class="post-metadata">

**Author:** ![denny\_jimenez](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@denny\_jimenez](https://forum.inductiveautomation.com/u/denny_jimenez)\
**Post date:** [March 18, 2024, 4:12pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/4 "2024-03-18T16:12:30Z")

</div>

Console error shown

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 18, 2024, 4:30pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/5 "2024-03-18T16:30:47Z")

</div>

Remake your dataset or otherwise adjust the static type assumed in the dataset to float or double.

---

<div class="post-metadata">

**Author:** ![denny\_jimenez](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@denny\_jimenez](https://forum.inductiveautomation.com/u/denny_jimenez)\
**Post date:** [March 18, 2024, 4:39pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/6 "2024-03-18T16:39:02Z")

</div>

Excuse my doubt, I am new with ignition. How can I do this, since the demo already comes with a predefined integer dataset, how can I delete this and create a new one?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/4/246542b1bf971c636d3299ceeed107e6bc4ec635.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 18, 2024, 6:07pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/7 "2024-03-18T18:07:11Z")

</div>

Click the button on the right hand side and delete the North Area column.  
Add a new column, with whatever name you want and a new data type (float or double).  
Set up your cell update binding again

---

<div class="post-metadata">

**Author:** ![denny\_jimenez](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@denny\_jimenez](https://forum.inductiveautomation.com/u/denny_jimenez)\
**Post date:** [March 18, 2024, 7:39pm UTC](https://forum.inductiveautomation.com/t/bar-chart-and-pie-chart-vision-data-type/87496/8 "2024-03-18T19:39:32Z")

</div>

Thank you very much Pgriffith, it was my obvious mistake, I always right clicked where I marked in the figure and it did not give me the option to delete but it is now resolved, new columns were created with the correct data format type double

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/6/76a5ff10e6175d08d632f8de6a665ebb71b1b927.png)
