So I want to be able to group some radio buttons into 2 groups. My current ui looks like the following:
However, at this stage only one can be checked at a time. That is, if you select "male" and then try and select a grade, it will deselect the gender. I want to be able to group them so that someone can only select one gender and one grade.
You need one groupBox by group of radio buttons.
So in your case, you need 2 groupBoxes.
Related
I created filter buttons to use as a filter for 6 category's (measures) in Tableau Public (latest version) to filter 2 different graphs called - "Military Enrollment by Branch & War Films" as well as "Military Enrollment & Year-Over-Year Change". What I need is to be able to click on each category name (Army, Marines, War Films, etc) and for both charts to only give me data for the category selected on my dashboard. However, what is happening is that when I click on one of the buttons it displays the values for a bunch of categories instead of one and is also showing the data for specific years instead of the values for all of the years for whichever category I clicked on. Some of the years it is showing is 1980 or 1981-1983 whereas it should be displaying all the values across all years on the x-axis (from 1980-2021). It is also not showing any values for "War Films". The buttons are not working correctly and I can't find out why it is doing this.
Another issue is I can't get the "Reset Button" to work to clear all filters.
For reference I am using the worksheet called "Filter Images" for my buttons.
Attached is the workbook link: https://public.tableau.com/views/LastOne_16419877017470/Dashboard?:language=en-US&publish=yes&:display_count=n&:origin=viz_share_link
This is the chart without any button filters applied:
enter image description here
Example of what it shows when I click on "Marines", it's showing me data for multiple measures when I only selected one and it's showing me data for the year 1983 instead of data for Marines from 1980-2021.
enter image description here
That was VERY strange (until I looked at your data)
You only have Category values for 1983 but you also have all the Categories as separate measures as well.
You need to work on the data & I hate to have to say it now, but I think you should pivot your data and have 3 columns - Category, Year, Headcount (or whatever) but this will mean rebuilding a LOT of your dashboard again.
is there any way to show alot of columns in asp.net column chart control?
For example, I have 200 cars and I want to show their sum weight in columns, but I want to show only 10 columns in a page, and by clicking Next button show 10 more.
Just look below mentioned tutorial & try to apply it into your code.
http://blogs.taiga.nl/martijn/2008/08/27/paging-with-aspnet-mvc/
I have Form1. I have table "Category", now I want to display all CategoryName in to combobox cbbCategory in Form1, the category names data are retrieved from Category table, how can I do this?
There are several ways you can do this, from querying the table into an array, writing as a SQL query, etc and setting up the properties.
What I would suggest for a start is this. Open your form.
Right-click anywhere in the form and pick "Data Environment".
If the category table is NOT already shown in the window, right-click and select Add. It will prompt you to pick a table and select your category table. Then close the data environment.
Now, put a combobox on your form if you have not done so already.
Right-click on the combobox and click "Builder". It will walk you through the selection process to get what you want. Start with picking the table... your category table. Then it has picker next to it to identify which column(s) you want to be displayed in the combobox. If your category table has both an ID and a description, I would pick your description FIRST, then the internal ID column second (so we can hide the second column if you dont want to actually show it).
Click on the second tab for "Style", and to clarify the difference between a "Drop-down Combo" vs "Drop-down List" is that a combo will default show you available choices, but if one is not available, allows a user to manually enter a new one which you might want to allow adding to your master category lookup table. "Drop-down List" is fixed to only allow the user to pick an entry from those available and nothing else.
Next, click on the Layout tab. This allows you to adjust the columns widths to see/hide what it will look like during drop-down mode (just stretch/shrink the columns)
Finally, the "Value" tab. It is asking for which column from those you selected to be available do you want to store behind-the-scenes. If an ID column, so be it... if the description, that's fine too. You can leave the last "Field Name" blank for now and it will just store whatever is selected into the comboboxes "Value" property... from which you can do whatever you need to in next phase of you app.
I wonder if it is possible to select item that belongs to one group, without selecting whole group.
What I trying to make is a group of items, that can be moved (all items are moved together) but none of them can't be moved individually. But I want also to be able to select items inside this group and then do something with them, like reordering, deleting, changing their color, etc.
The other problem is, there can be group of groups. I wish also to be able to select these groups inside parent group. I was thinking that this could be problem, because we are not able to determine which group users want to select. For demonstration purpose, lets say that we have graphic's scene composed of following items:
Group A which contains group B. The group B contains 3 lines.
If I press double click on group A, then I am then able to select group B. If I again press double click on B, then I am able to select lines inside group B. Pressing Esc does opposite as double click. The problem is, I have no idea how to do that, because all selection is routed to the parents, and than back to all its children.
You can't use QGraphicsItemGroup to do this because selecting one item in a group automaticaly selects all other memebrs of the group.
I'd subclass QGraphicsItem to create a 'RootItem' class. This class would contain two lists. One is a list of ordinary QGraphicsItems that make up the visual elements of the group itself, parented to this RootItem. The other list is of other RootItems that are parented to this one (e.g. Group B).
You would just need to make sure that you carefully controlled which items are selectable at any one time and how the interactions propagate between items.
Hope this helps.
We are storing people's class attendance information to Drupal. We would like to show this in a grid/chart, where the first column of each row shows person's name, and rest of the columns (ca. 20) either a checkbox or "X" if the user attended a class, or otherwise an non-checked box or empty column:
(dates here)
Jack X XXX X X
Jill XX XXX XX
It should also be possible to edit the attendance information on the grid. Each attendance information is a node of its own.
This functionality can probably mostly be achieved using views and editablefields, but there is one problem: if a person has not attended a specific class he/she will not have at all an attendace node for that day. What would be the easiest way to create an attendace node in those cases, so that it would be possible for the end user to edit the grid by just clicking on the checkbox or typing an 'X'?
You could use the Rules module to automatically create the nodes.
I'm not quite sure about the functionality you want to achieve, but it sounds like a doodle like one. So you may want to check out the http://drupal.org/project/date_picker_formatter module (successor of http://drupal.org/project/dudel).