topic Re: Wide bars on multi-plot xy graph in LabVIEW
https://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058490#M1164600
<P>You don't have bar charts, but xy graphs (big difference!). Your second graph only has one point per plot. How should it know how far apart the points are for each plot??</P>
<P> </P>
<P>If your x-values are equally spaced, use a waveform graph, not an xy graph.</P>
<P> </P>
<P>Can you take a step back and explain what you are trying to do? I am sure there is a much easier solution.</P>Wed, 10 Jun 2020 18:24:06 GMTaltenbach2020-06-10T18:24:06ZWide bars on multi-plot xy graph
https://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058483#M1164595
<P>Hello!</P>
<P> </P>
<P>I'm fairly new to Labview, and am running into what seems to be a fairly simple problem. In the attached example, I've built two xy graphs; Graph 1 is a single plot bar chart, and Graph 2 is a multi-plot bar chart. Unfortunately, however, I can't figure out how to get "wide bars" in Graph two. Any ideas?</P>
<P> </P>
<P>Thanks in advance!</P>
<P> </P>
<P>Sam</P>Wed, 10 Jun 2020 17:55:01 GMThttps://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058483#M1164595s.angles2020-06-10T17:55:01ZRe: Wide bars on multi-plot xy graph
https://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058490#M1164600
<P>You don't have bar charts, but xy graphs (big difference!). Your second graph only has one point per plot. How should it know how far apart the points are for each plot??</P>
<P> </P>
<P>If your x-values are equally spaced, use a waveform graph, not an xy graph.</P>
<P> </P>
<P>Can you take a step back and explain what you are trying to do? I am sure there is a much easier solution.</P>Wed, 10 Jun 2020 18:24:06 GMThttps://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058490#M1164600altenbach2020-06-10T18:24:06ZRe: Wide bars on multi-plot xy graph
https://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058492#M1164601
<P>Taking advantage of the fact that NaN does not plot, you can define the spacing as follows but I consider this a horrible kludge. I am sure there are much (much!) better way to do what you want to do.</P>
<P> </P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="altenbach_0-1591813646989.png" style="width: 999px;"><img src="https://ni.i.lithium.com/t5/image/serverpage/image-id/268634i36813C5E7FA4284F/image-size/large?v=1.0&px=999" role="button" title="altenbach_0-1591813646989.png" alt="altenbach_0-1591813646989.png" /></span></P>
<P> </P>Wed, 10 Jun 2020 18:28:08 GMThttps://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058492#M1164601altenbach2020-06-10T18:28:08ZRe: Wide bars on multi-plot xy graph
https://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058496#M1164603
<P>Hi Altenbach,</P>
<P> </P>
<P>Thanks for the quick response! I have a waveform <STRONG>chart</STRONG> going right now to collect temperature data over time. In addition to this chart, I'd like to display a bar graph that shows each sensor's immediate temperature reading. Please see the picture attached for better reference. When looking at the picture, my hope is to make a graph like XY Graph, but with the wide bars found in XY Graph 2</P>
<P> </P>
<P>I can also attach my VI but, of course, you wont get any data from the sensors I set up.</P>
<P> </P>
<P>Thanks again for the help! I'm very open to suggestions if you've got 'em <span class="lia-unicode-emoji" title=":slightly_smiling_face:">ðŸ™‚</span></P>
<P> </P>
<P>Sam</P>Wed, 10 Jun 2020 18:43:17 GMThttps://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058496#M1164603s.angles2020-06-10T18:43:17ZRe: Wide bars on multi-plot xy graph
https://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058502#M1164606
<P>You are overthingking this. Why not use a cluster of thermometers or other bars?</P>
<P> </P>
<P>(You could even customize the digital display of the chart to have an all-in-one solution. Bottom of image. Only one terminal!)</P>
<P> </P>
<P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="altenbach_0-1591815762800.png" style="width: 999px;"><img src="https://ni.i.lithium.com/t5/image/serverpage/image-id/268635i3BD0EAE6A7FC0731/image-size/large?v=1.0&px=999" role="button" title="altenbach_0-1591815762800.png" alt="altenbach_0-1591815762800.png" /></span></P>
<P> </P>Wed, 10 Jun 2020 19:03:57 GMThttps://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058502#M1164606altenbach2020-06-10T19:03:57ZRe: Wide bars on multi-plot xy graph
https://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058508#M1164611
<P>Holy moley! Way better. I knew there'd be an easy way to get this done. Thanks for the warm welcome to the community, altenbach.</P>Wed, 10 Jun 2020 19:33:15 GMThttps://forums.ni.com/t5/LabVIEW/Wide-bars-on-multi-plot-xy-graph/m-p/4058508#M1164611s.angles2020-06-10T19:33:15Z