Vega Lite bar exceeds limits - vega-lite

I created a three way graph with a map a histogram and a bar chart that looks like this:
These graphs are connected with a select function for each. If you click on the county bar chart it will reflect on the map and the histogram, however when I do so the histogram bars exceed the graph:
Is there a way to stop this?
Secondly, I have a selection based on sex, where if you click on the "sex" in the legend it will just give that sex. When I added the other selections that part stopped working:
[1
]: https://i.stack.imgur.com/RYOWK.png
[2]: https://i.stack.imgur.com/jNNXV.png
Just wondering if anyone has any idea how to solve these issues.

Related

Vega-Lite multiple layer chart with selection

I am trying to recreate a report that was done in Tableau, using Vega-Lite. I'm not entirely sure if it is possible to do it. I'm struggling with the bar charts based upon the selection made in the scatterplot. The bar chart should be created as follows:
Selected item
All entries in the reference box (light blue area) - (excl. the selected item)
All other entries outside the reference box (excl. the selected item)
If it is possible to create a similar chart/interaction in Vega-Lite, can someone please guide me towards a solution. Attached my attempt to recreate ( Open in Vega Editor )
Any assistance or guidance is appreciated. Thanks

Possible to create a combo graph containing line and bar [duplicate]

How can SSRS 2005 represent two chart types (i.e., bar and line) on the same chart?
I am trying to create a graph that looks like the professionally crafted image below:
The chart would have one series represented as bar graphs and then two other series represented as overlapping line graphs.
I have the line graphs working as two independent series and I can write my SQL query to return empty values for the months of the bar graph series and empty values for the years on the two line series to prevent overlapping, but I don't see how to specify a chart type per series.
Realistically, can this be done using SSRS? Or simulated visually?
Select the Chart, make sure it is highlighted and the Chart Data box appears to the right of the graph, both of your series should be listed inside the "Values" section. Click the drop down arrow to the right of your Series' value, use the 'Change Chart type' option from here (per series). This will affect only the series you clicked the drop down for :)

Microstrategy - Bar Chart in a Document does not show all the series

I have a bar chart in a document.
Each bar is a value of an attribute, but sadly the chart shows at most 5 columns.
I cannot find an option, in the web or the desktop, for showing 1 bar for every value in the attribute.
How can I do it?
Run the report so that it produces a graph.
Go to Graph > Graph options > Options > General.
In the second section, Scrolling, increase the maximum number of series.

Two chart types (bar and line) in same SSRS chart

How can SSRS 2005 represent two chart types (i.e., bar and line) on the same chart?
I am trying to create a graph that looks like the professionally crafted image below:
The chart would have one series represented as bar graphs and then two other series represented as overlapping line graphs.
I have the line graphs working as two independent series and I can write my SQL query to return empty values for the months of the bar graph series and empty values for the years on the two line series to prevent overlapping, but I don't see how to specify a chart type per series.
Realistically, can this be done using SSRS? Or simulated visually?
Select the Chart, make sure it is highlighted and the Chart Data box appears to the right of the graph, both of your series should be listed inside the "Values" section. Click the drop down arrow to the right of your Series' value, use the 'Change Chart type' option from here (per series). This will affect only the series you clicked the drop down for :)

How to add moving average to Report Builder 2.0 chart

This is driving me nuts. I've looked at all the relevant MSDN tutorials but they talk about 'data field drop zones' and how a 'Add Calculated Series' menu option should be there but it's not, and no screenshot is provided to show what a 'data field drop zone' is. This is the menu I get when I "right-click on a field in the data field drop zone":
The frustrating thing is I know I've seen this calculated series stuff before, but I can't find it again, it's not in the 'Series Properties' dialog that I can see, and I can't find a tutorial showing how to find this feature. I'm guessing you can only have a calculated series on certain chart types, or I don't have some flag turned on or something, but I didn't see that mentioned anywhere.
Can you tell me how I can add a line showing the median of my data to a chart in Report Builder 2.0? I think I can do this by adding a 'Moving Average' via a 'Calculated Series', but I can't find how to add that.
Edit: on a different chart, the 'Add Calculated Series' menu option was available. It was a stacked column chart and the series I right-clicked on was an expression that used RunningValue.
I had to remove the series group (from the 'data field drop zone' on the right side of the chart) so that all I had was 1) a category group (bottom of the chart) and 2) a data series (top of the chart). Then I could right-click on the data series at the top of the chart and 'Add Calculated Series' was a menu option.
I solved it by making the groups as individual series and then a combined series that i set to hidden. I was then able to make the calculated series from the hidden series.