Vega-Lite multiple layer chart with selection - vega-lite

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

Related

Data label Google spreadsheet Column chart

I have created a column chart in Google spreadsheet, but it is not showing data label explicitly.
I need data value to be shown on top of each bar of column chart. Currently, that is showing only as tool tip, but I require it to be always visible.
I have not used any script just created it directly, please provide some way either by script/direct to implement data labels. only direct / apps script but no java script as I only need to view it on my spreadsheet.
here is link of sheet: https://docs.google.com/spreadsheets/d/1a95DrTeLA52Xmycq3IUlWgfqASQWJQla7xEXx5-KWGE/edit?usp=sharing
You may have found the solution by now but just in case it might be helpful to others, here's my response.
Your sharing of sheet was useful in helping you with your question. Here are the steps to get the values for the data labels on the top of your columns.
Right click on the chart.
Click on Advanced Edit. (This will open a new window named "Chart Editor")
Click on "Customization" tab.
Drag the bar and keep going down until you see "Data Labels" with a drop down below it.
Click on the drop down. (This will open a list of options)
Choose "value" from this list of options.
Click "Update" and you'll see the change in your graph.
Let me know if you have any questions.
I figured out a solution. If you create a pivot table and graph that data, the values will show.

Is it Possible to link the tablix from charts in SSRS

I have a Report which has three tables .Each table is made visible based on the parameters.Now i am planning to add charts to the reports for Visualization.So, is it possible to link the added charts to the specific Table?
I mean when i click on the chart item will that redirect me to the specific table.
Thanks in advance.
You may not get the precision you're looking for, but you can definitely implement this general type of functionality via the use of Bookmarks or Document Maps:
http://technet.microsoft.com/en-us/library/dd239378.aspx
http://technet.microsoft.com/en-us/library/dd239329.aspx

how to make drop-down lists in sql report

Could anybody help, please?
I'm confused a bit about where that feature could be find in VS and some docs about it
thanks in advance
Your screenshot is showing a feature called Drilldown.
With this, you can show or hide report items by setting the ToggleItem property to a textbox outside of the item Scope.
You can see more information at Books Online:
Hiding and Showing Report Items by Adding Drilldown.
Add an Expand/Collapse Action to an Item.

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.

Re-naming chart legend in Access 2007

In an auto-generated chart based on a query (I dragged the chart object onto a blank form to start it), the chart itself is displaying and updating properly, datawise, but I want to change the Legend from reading "SumOfAvgOfield1" and "SumOfAvgOfield2" to regular words suitable for final presentations. But I can't find a way to change it!
I realize this is a late answer, but I was just having a similar issue and figured someone else might benefit from knowing how to get rid of the 'SumOf' labels.
In design view, right click on the chart and select 'Properties'.
Choose the Data tab.
The 'Row Source' field is the one you're going to be interested.
In there you can see various places where it's labeling your data:
Sum() AS [SumOfData]
Just edit the text right in the properties window and you'll be set.
This is WAY late, but here's what I found (Yes we still use office 2007)
Open the form in PivotTable View. Open Property Sheet. Highlight the column you want to change the Legend Caption for. Choose the Captions Tab in the properties window. There you can change the captions for each column.
Had 4 charts on a form. 3 would let me edit the Heading of the Chart, the 4th would not. Read a lot of posts that did not pertain. Noticed the datasheet for the 4th chart was completely empty.
SOLUTION: Clicked on chart until the datasheet appeared. Added mock field headings and mock data to datasheet. I could then click on chart and edit the chart's Heading. You can also highlight and change the color of selected words in the chart's Heading. Very Nice!
Good luck,
Vancer
The SumofAverageOfFiled1, etc is automatically generated. Even if you edit it in the datasheet, it changes back (or at least that is my experience). What I did to get around this is add a Rectangle and fill it with white and size it to cover up the "Sumof" captions. You can Bring to Front the Rectangle. Then you can add text boxes to label the chart's bars to read the way you want them. Drag them over the Rectange and Bring to Front.
Hope this helps.
Everywhere I looked it said just change the Pivot Table to change the Legend Entry.
Well, let me tell you.
First, if you have no Pivot Table that you can see do the following:
go to design view and select the form
right click and hit Properties. Scroll through till you see AllowPivotTableView and select yes.
Now you can go and change the column headers!
This could help
Select xxxxx, yyyyy from zzzz
Chart0.ChartSeriesCollection(0).DisplayName = ![XXXXX]
Chart0.ChartSeriesCollection(1).DisplayName = ![YYYYY]
Was very difficult to me to find a way to do it.