I have just started to use Dia for designing ER diagrams and I cannot seem to find a way to show total participation, which is usually expressed by a double line. Thank you.
Just double click on the line you want to represent double participation and switch Total to Yes:
However, note that the line must have been created using the Participation symbol of the ER sheet.
You can add new shapes to the software, but you to create them first.. I've just done an example for you (it's in Spanish but I think you'll understand):
Create the new shape in dia
Export to a shape format
Select File → Sheets and Objects from the menu to open the Sheets and Objects dialog or press F9.
Sheets and Objects dialog. Click on the New button - a new dialog will be opened
Select your new shape and then click on Acept
You'll see your new shape like this:
Add it wherever you want
You can check this manual.
Hope you find this useful!
Related
I am attempting to recreate a feature I've found in highcharts where the user is able to select various metrics (series) to add to the chart. These each are assigned a unique identifier (in the example below the identifiers are 'm1' and 'm2'.) From there the user can choose to enter a formula and manipulate the m1 series and the m2 series in any way they wish. In this example, (m1/m2). This is then assigned the unique identifier 'f1' (function 1), and is added to the chart where f1 = m1/m2.
I was wondering if anyone might be able to assist me in how the formula bar may be implemented in highcharts? I've included a picture of the example below and I will also leave a link which shows directly the functionality. https://studio.glassnode.com/workbench
enter image description here
I'm trying to create a dynamic 'worksheet' in Google Sheets to help myself study Chinese.
This is something I'm kind of figuring out as I go, but I'm currently trying to create a template for the basic 'worksheet' that will draw vocabulary from other pages in my document.
Here's a copy of my current version: https://docs.google.com/spreadsheets/d/1U1hclOSo-SM2JuxJB6LXPB4J0UzXt6xJ1B_54ehkALs/edit?usp=sharing
Sheet1 is where I'm currently struggling. The idea behind Column A was that I could create 'switches' to keep the page from updating (Freeze) while I'm actually using the worksheet for studying. Once I've finished and checked my work, I could switch back to (Update) so that the Query will re-run and update to include any new words, etc.
Thus, E2 =if(A2="Update",1,0) is the condition I'm trying to check. 1 in this case would be letting the page update. 0 would be the only other value (Freeze), which would ideally stop the sheet from updating.
Another problem I've run into is that I wanted to use the 'Randomize Range' feature from the right-click menu on the output of my Query, but that doesn't seem to work. I wanted to be able to shuffle the terms so that I am not accidentally memorizing the order rather than the actual information I'm trying to learn.
I don't know which is more efficient: Having the Query grab the definition along with the word and add those to a hidden column, or have a column that matches the word to its definition outside of the Query.
If I could add in another layer of complexity, it would be neat if I could have my worksheet randomly choose between column A and column D (maybe E, too) on my Vocabulary Bank pages so that sometimes it would show me the English term and other times it would show me the Chinese one. (Currently, I'm planning to just have one worksheet for English to Chinese and a second for Chinese to English.)
In the end, I'd like for Sheet1 to work like this:
Column A: Switches
Column B: Terms, grabbed from 'Vocabulary Bank - [etc.]'!A3:A [etc.] being all of the different banks. These are randomly reordered and 'frozen' until the Range switch is changed to 'Update'.
Column C: Hidden, containing the translations of the corresponding words. These update according to a switch.
Column D: This is where I enter my guesses at the translations. There is a switch to enable 'grading' where answers that don't match Column C are highlighted.
Any help would be appreciated. Thanks!
im trying to pull the sector for companies from marketwatch=INDEX(IMPORTHTML("https://www.marketwatch.com/investing/stock/AAPL/company-profile", "table", 5), 2, 2)
I dont know how to determine what table number to use or how to find the correct column etc.
You will need to get the XPATH of the html element and then use IMPORTXML.
First you need to get the XPATH, easiest way is with Chrome's Inspect feature.
Right Click on the sector name
Select Inspect
Find the line of HTML that is highlighted blue (it doesn't always appear in the middle of the tool)
Click on the three dots to the left of the line
Click Copy
Click full Xpath
Then go to your sheet and use IMPORTXML()
To go one step further, you can do it for a list of stocks, by building the URL with the companies stock symbol like this:
"https://www.marketwatch.com/investing/stock/"&LOWER(D9)&"/company-profile"
From a ticker (french) :
Having the full name : =IMPORTXML("https://www.marketwatch.com/investing/stock/"&MAJUSCULE(A2)&"/company-profile?countrycode=fr&mod=mw_quote_tab";"/html/body/div[3]/div[6]/div[1]/div[1]/div/div/h4")
Having the industry or sector :
=IMPORTXML("https://www.marketwatch.com/investing/stock/"&MAJUSCULE(A2)&"/company-profile?countrycode=fr&mod=mw_quote_tab";"/html/body/div[3]/div[6]/div[1]/div[1]/div/ul/li[1]/span")
Hi there and thank you for any support received in advance!
I have a Google Sheets document (https://docs.google.com/spreadsheets/d/1vKc1u1B_Yz8MOUX7x1dRucrKZepozqft18N_jkVAgX8/edit?usp=sharing) that has a list of towns in it and a series of default questions (about my fishing project).
I would like to be able to run some form of script or code that automatically changes the "XXXXXX" in any sentence and replaces it with a word from the list of towns. There will be 10 questions (once I have finished the project) and each line of the sheet will need to have questions for each individual town (with the name changed). If someone is able to help I would really appreciate it and you can change that document as much as you'd like (it is a demo that I have set up for the purpose of asking this question). I would also appreciate a short explanation as to how you achieve the required result so I can learn and apply this in the future (without having to come back to S.O everytime).
Thanks!
If you are ok with writing the default question in the header row (see the copy of the sheet I made) then you could use in B3
=Arrayformula(if(len(A3:A), substitute(B2:C2, "XXXXXX",A3:A),))
to create the output in the range B3:C.
If changing the range of the default questions is not an option you can check out the sheet 'JPV_2' where I entered in cell C3
=transpose(Arrayformula(if(len(A3:A), substitute(transpose(B3:B4), "XXXXXX",A3:A),)))
I hope that helps?
I have a very large data set (about 16k rows). I have 10 higher level blocks and within each block I have 4 categories (10 rows for each) which use Data Validation lists to show items available in each category. The lists should automatically update based on user input. What I need your help with is that I want to use the same data set for each block and preferably a least calculation/size intensive approach. I have put together a sample file that outlines the issue with examples.
Sample File
Thank you for your help in advance.
Okay, I've found something, but it can be quite time consuming to do.
Select each range of cells. For instance, for the first one, select B3:B18 and right click on the selection. Find 'Name a Range..." and give it the name "_FIN_CNY". Repeat for all the other ranges, changing the name where necessary.
Select the first range of cells to get the data validation, and click on "Data validation", pick the option "Allow: List" (you already have it) and then in the source, put the formula:
=INDIRECT($G$4&"_CNY")
$G$4 is where the user will input. This changes as you change blocks.
_CNY is the category. Change it to _CNY2 for the second category.
Click "OK" and this should be it. Repeat for the other categories.
I have put an updated file on dropbox where you can see I already did it for the data of _FIN for categories CNY, CNY2 and INT and did the one for _GER as well. You'll notice the category of INT for _GER doesn't work, that's because the Named Range _GER_INT doesn't exist yet.