# Bar chart with a line

**URL:** <https://forum.inductiveautomation.com/t/bar-chart-with-a-line/5888>\
**Category:** Ignition\
**Created:** [February 18, 2013, 4:47pm UTC](https://forum.inductiveautomation.com/t/bar-chart-with-a-line/5888 "2013-02-18T16:47:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaepark](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jaepark](https://forum.inductiveautomation.com/u/jaepark)\
**Post date:** [February 18, 2013, 4:47pm UTC](https://forum.inductiveautomation.com/t/bar-chart-with-a-line/5888/1 "2013-02-18T16:47:21Z")

</div>

I am trying to create the following chart.

I have a dataset with part serial numbers (X-Axis) and actual weights (Y-Axis). I need to draw a line on the same chart that has a value of target weight.

In the attached image, the line would be at 32. Should I use the classic chart or the bar chart component?  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/10e7b49c6fa43cbc599185ddb25a729488768d41.png)

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [February 20, 2013, 1:20am UTC](https://forum.inductiveautomation.com/t/bar-chart-with-a-line/5888/2 "2013-02-20T01:20:32Z")

</div>

You have to use the classic chart. You would create 2 datasets: one for the bar chart information and one for the flat line.
