I am creating a visualization of patch compliance. The query defined returns 118 rows to feed a stacked bar chart visualization where the X axis contains the patch ID and the patch states are stacked as percentages to make each bar as the Y axis. For example, the X-axis entry might be SP19992 and the bar above it might have 4 segments: 30% success, 10% failed, 40% N/A, 20% loaded.

All the data is correct in the tabular display of the query output, but not in the bar chart.

Why would this be happening?

Really hard to tell without seeing the data and the chart configuration. What type of X axis did you select?