I have created a simple self-contained test project to demonstrate this issue.
I have a stacked bar chart with 3 dimensions: Customer, Store, and Product. The following picture shows the chart appearing correctly with a legend shown on Product with a different bar segment color for each product shown on the chart.
However, when I select the customer 'Jane Doe' there is only one Product value to display. When I do this the Product Legend is empty and I can't tell which product I am looking at because I don't know which product the bar represents. The below picture shows this, with my annotations added in red to highlight the issue.
What makes this even more strange is if I click on the bar chart's caption to make the chart 'active' then the Legend populates showing that blue represents the product 'Gasoline'. However, if I then save the QVW file, the legend again goes blank.
Any ideas on what causes this, and know of any workarounds?
Message was edited by: Jack Diller (attached sample app: MissingLegend.qvw)
Solved! Go to Solution.
I have a sample app, but I don't see how to attach it to the discussion. I see how to attach an image, but not a QVW file. Can you point me in the right direction to do that?
The legends are used only if there are multiple dimensions, so that its easy to identify which element responds to which dimension.
When there will be just one dimension in the chart, there will be no legend.
Its a basic Qv functionality.
Hope that helps.
Basically you just need to make the chart bigger by a bit i guess, cause i tried clicking on it and your legend is actually being hidden below, you just have to align the legend maybe to the right or left side.