Questions tagged [label]

1

votes
1

answer
747

Views

What is the actual use of labels in docker-compose

I was reading docker-compose tutorials and want to understand more about labels I read that they can be used to store metadata. Is labels useful just to store metadata or Are there any other significant uses? Please help me to understand this more.
a8989
1

votes
1

answer
68

Views

align labels to boxplot in ggplot

I have multiple boxplots which I wish to label with the actual values above. However, I can't seem to get them to align. I end up with something like the following where the labels are not aligned. I have tried tinkering around with geom_text(aes(label=value), position=position_dodge(width=0.9), v...
catlovingtaco
0

votes
0

answer
2

Views

show wfs attributes as label on selection

i am trying to show attribute of wfs gml layer from geoserver as label in my openlayer3 application. I am successful to get label as text but unable to access the particular attribute'name'. Given is the code i am working with. var sourceWFS = new ol.source.Vector({ loader: function (extent) { $.aja...
Ashutosh Mishra
1

votes
1

answer
1.6k

Views

labeling networkx node attributes outside of nodes

I am working on a small example node set belonging to two types {'human', 'machine'} and I want to label node attributes in dictionary form outside of each node in networkx graph, such as those shown in nodes c, e, j in the graph below. (I used MS Word to add dictionary-type attributes on the graph....
Chris T.
1

votes
3

answer
1.1k

Views

How do I add an outline to my label in Swift?

I'm new to Stackoverflow. I am currently developing a mobile application using XCode for iOS. However I'm trying to set add a white outline/stroke to my label but I do not know hot to. I have tried searching these forums but could not find any solution in swift. I have tried using the shadow propert...
Karliene
1

votes
2

answer
796

Views

How to label the outliers of boxplot with ggplot2? [duplicate]

This question already has an answer here: adding text to ggplot geom_jitter points that match a condition 2 answers My data is as follows: genes fc type 349028 -1.2 pro 2454 1.1 pro 24908 0.4 pro 4730 0.8 pro 94988 0.9 pro 9865 6 pro 8935 3.4 phos 39280 1.2 phos 8034...
user4672728
1

votes
1

answer
20

Views

Can the text in label contain eval?

I got parser error when i run this page.When I change it. When i run this page there is no error
Gilson Lim
1

votes
3

answer
4k

Views

How do I dynamically change the text of a CMFCRibbonLabel

My CMDIFrameWndEx derived main frame window uses a CMFCRibbonStatusBar to which I add a CMFCRibbonLabel. I'd like to change the text of this label at runtime: m_pLabel->SetText(description); m_pLabel->Redraw(); It only updates the text but not the rectangle in which to draw it. So if the original te...
foraidt
1

votes
2

answer
551

Views

llvm - get label of br instruction

My question is simple. Given an instruction of type branch, how do I extract the label out of it? For example: br label %while.cond Should give me while.cond br label %while.end Should give me while.end br i1 %cmp1, label %if.then, label %if.end Should give me if, if.then, if.end respectively.
Eren555
1

votes
0

answer
280

Views

Labels too long to show in chartjs Pie chart

I have below code for a chartjs Pie chart where few labels are too large to show on page when tapped by user. Code var config = { type: 'pie', data: { datasets: [{ data: values, backgroundColor: coloring, label: 'Dataset 1' }], labels: labels }, options: { segmentShowStroke : false, animateScale :...
javascript_learner
1

votes
1

answer
426

Views

How to display an array in a label

How do I display an array/the elements of an array in a label? I'm updating the elements each time so they will change from underscores to letters as more buttons are pressed in a game of hangman. 'random' is the animal randomly generated from a different array. if random == 'aardvark' { theWord.te...
user9154815
1

votes
1

answer
35

Views

coreData only printing last entity (swift4)

I am trying to call all of my entries of coreData .color. The problem is only 1 entry of coreData is being called to the label. I would like all of the entities of coreData to be printed on the label not just the latest one, which the code is currently doing. import UIKit class ViewController: UIVi...
Sam Burns
1

votes
1

answer
234

Views

Display labels on Chart.js in Ionic 2 app

I'm struggling to have labels always displayed on a chart created with Chart.js in a Ionic 2 app. I'd like to have something like this https://stackblitz.com/edit/doughnut-chart-6iuguq?file=app%2Fapp.component.ts but I'm not able to load correctly this js plugin https://github.com/emn178/Chart.Piece...
Knives81
1

votes
1

answer
1.3k

Views

Hide attribute label for variable products in Woocommerce Single product page

I am trying to hide the attribute label in woocommerce single product pages (the word 'color' and 'size' in attached image)… Can anyone help me to fix this?
newbie
1

votes
3

answer
39

Views

Is there any way to make a label in Tkiner forget its data?

Hello guys I want to make a phishing python program ( For educational purposes ) ! It's something I want to show to my class and my classmates. Anyways, I want that function to show the data into the label for just a few seconds and then dissapear like I never called it. Thank you in advance !...
Kostas Petrakis
1

votes
1

answer
41

Views

Why is the Span that's nested in a Label preventing other nested items' ability to click to select checkbox?

The template is pretty simple, a checkbox component and string of text nested inside a label element: {{list-checkbox value=object.id sourceList=item.objectIds class=''}} {{object.name}} The checkbox template nested inside looks like this: Now, the expected behaviour is that clicking on anything nes...
lookininward
1

votes
0

answer
136

Views

Retrieving labels when concatenating in a Wikidata SPARQL query

I am having an issue when concatenating in SPARQL using the Wikidata Query Service. https://query.wikidata.org/ What I want to do is retrieve all persons with a GTAA ID (?q wdt:P1741 ?GTAA_ID.) and specifically persons who have an occupation listed in Wikidata. (?q wdt:P106 ?occupation.) Furthermor...
John
1

votes
0

answer
69

Views

How to add within cluster variance to cluster plot using fviz_cluster?

I have multiple cluster plots and I want to add a label that shows the within-cluster variance of each cluster in the plot. I tried using geom_label to add the text but that doesn't seem to be working for me. I tried looking in the fviz_cluster documentation but I couldn't seem to find anything that...
user9343592
1

votes
2

answer
255

Views

Show the selected row record in textbox/label

How do I make the selected row record from a DataGridView show in a TextBox? I got some TextBox andLabelin aForm. I want the text inside theTextBox/Labelto change when the user selects a row record from theDataGridView`. I tried the following code to make it happen, but it doesn't work private void...
Knugi
1

votes
0

answer
347

Views

Install labelme annotation tools

I tried to install labelme annotation tools on Mac os 10.11.x from this link labelme using the virtual environment method listed below: # python3 conda create --name=labelme python=3.6 source activate labelme # conda install pyqt pip3 install pyqt5 # pyqt5 can be installed via pip on python3 pip3 in...
BetterEnglish
1

votes
2

answer
96

Views

vb.net counting label texts

well i'm pretty stuck at counting how many labels say ( enabled ) that i got. I got 10 labels that their default text says 'Enabled' but also buttons to change their text to 'Disabled' So i want to count how many Enabled buttons i got out of 10. 7/10 or 5/10 or 1/10 etc... Tried : Dim Number1 As D...
John Evenetcha
1

votes
0

answer
41

Views

How do I color code only the leaf node labels in a dendrogram?

I am trying to color code only the leaf node labels in a dendogram. I found this stackoverflow post which is the closest to what I am trying to do Label and color leaf dendrogram Tal Galili's answer is useful, but what would I need to do if I DIDN'T want the group labels to be attached to the leaf n...
Antsushi
1

votes
0

answer
91

Views

Labels are overlapping with autolayout?

I have constraints placed on my two labels. Both have leading constraints, the top one has a vertical space to safe space constraint and then the bottom has a top space to the top label. Both my tableView and TableCell have the adequate row height and the connections have been deleted and reconnecte...
jonpeter
1

votes
1

answer
471

Views

selecting containers within same Pod via Services

I have two containers inside a Pod with label app=read-write. container-1 is reading on 7110 port and container-2 is listening on 7111. Now I need to connect with these containers via Services NodePorts. I create two separate services to assign NodePorts on each port (7110 and 7111). --- apiVersion:...
Anum Sheraz
1

votes
1

answer
578

Views

Cannot add label to geom_hline in ggplot2

#this is my sample data set-I think this is the correct format for stack overflow, but if not I can try something else Date Analyte Result 3/1/2016 Total Phosphorus 1.25 5/1/2016 Total Phosphorus 1.1 7/1/2017 Total Phosphorus 0.33 11/1/2016 Total...
Ellen
1

votes
1

answer
52

Views

Gridview label template item value to delete a row

Good Afternoon. I have a programatically filled gridview, so i was wondering how could i get the values of a label in template items to delete that gridview row. I'm newby at ASP and c# so this may be easy but i want if you can help me. So here is my code. Then here is my try to delete the row but w...
Skuiz Queeze
1

votes
1

answer
136

Views

python/tkinter add the individual letters of a word to a label on button press

from tkinter import * # Create a window spell_window = Tk() # Give the window a title spell_window.title('Spell Table') table_Var = StringVar() ## table = ['T', 'a', 'b', 'l', 'e'] ## I think it needs to move through a list??? def spell_table(): s_table = monty_Var.get() s_table += 'T' #Currently ad...
Malkeir
1

votes
1

answer
58

Views

The Label breaking with character - automatically in Redmi Note 4 device

I'm trying to display a label in my Redmi not Device. But the word is breaking with - at the end. I want the whole word to be displayed in next line instead of breaking the word. For example Welcome to Lighthouse, the PSAV online customer followup prog- ram designed to ensure a one-on-one approach t...
Judson Abraham
1

votes
0

answer
254

Views

How can I round values in geom_text that are contained within other text?

I have some code: library(dplyr) library(tidyr) library(ggplot2) eu_chats %>% spread(type, count, fill = 0) %>% # Spread the count column in missed and completed mutate(Total = Completed + Missed) %>% # Create the Total column ggplot(aes(date, Total)) + geom_col(aes(fill = 'Total'), colour = 'b...
MusTheDataGuy
1

votes
3

answer
22

Views

Is it valid HTML to have more than one label targetting an item?

Is there anything wrong with the following block of HTML? Every Days I can't find anything that says you can't have more than one label, but every example I find only has one.
roryok
1

votes
1

answer
31

Views

Add annotation/descriptive label to each subplot in pairs

I have pairs of several data sets and I want to add the correlation coefficient to each one so that the correlations can be visually seen. Ex: corr1
Nate
1

votes
1

answer
50

Views

Add and get the sum off floats from entry in label [duplicate]

This question already has an answer here: How to run a code whenever a Tkinter widget value changes? 4 answers I got a bit of a noob question. I want to add the floats from the 3 entries, so the total float is shown in the label. My solution is this and I can't get it to work, what I'm doing wron...
Math
1

votes
0

answer
36

Views

tkinter unable to print a label before using root.destroy()

I want to print a message on the UI when the user wishes to exit. This is a part of code relevant to it if word in quit_words: user_to_quit = True Print = 'Pleasure serving you!' print_bot_reply(Print) time.sleep(5) root.destroy() The print bot_reply function is as follows: def print_bot_reply(re...
Swappy
1

votes
1

answer
30

Views

How do I go over labes in my JavaFX App [duplicate]

This question already has an answer here: Grouping together JavaFX FXML Objects 1 answer I have over 50 labels where X = 1, 2, 3 ... 50. How do i access all of them using 'for loop' in my controller class? Is there any way to do it?
Vasyl Butov
1

votes
1

answer
54

Views

How to I call an api and display information from it in a Label on Xamrin.iOS?

I am completely stuck, and I have been searching for days, It probably doesn't help that I am a complete and total noob. All of the apis that I call in web reference give me this in the little preview box: WebMissingResource -WebDiscoRefReport -Data at the root level is invalid. Line 1, position 1....
J Buff
1

votes
1

answer
37

Views

pinch to zoom gesture

I made this code to allow the user to pinch on a text to Zoom In or Out. Is it possible to put a minRange and a maxRange? How can I do it. Another question: is it possible to return to the default zoom after a double click? Thanks a lot. override func viewDidLoad() { super.viewDidLoad() configureVie...
Twing90
1

votes
1

answer
34

Views

JavaFX: Why that does not connect between label and textfield with setLabelFor?

I have the following code: TextField vSuchenTextfield = new TextField(''); vLblSuchfeld.setMnemonicParsing(true); vSuchenTextfield.setPromptText('Suchbegriff eingeben'); vLblSuchfeld.setLabelFor(vSuchenTextfield); when I click on the vLblSuchfeld label with the mouse, the text field vSuchenTextfiel...
Markus Lemcke
1

votes
0

answer
32

Views

Draw Networkx : how to draw one particular label?

I use Networkx on python 2.7 to represent and simulate financial flow in projects. I have 4 labels for each edge, so when I print them on the graph, I can't barely read anything. For example : import networkx as nx H=nx.Graph() t_op=[437,325,60,633,2156,3029, 1973,151, 375] arcs_H=[('Habitants', '...
Sophie.A
1

votes
1

answer
148

Views

Load markdown text into the Xamarin.Forms Label

Recently, Xamarin.Forms Label has support for FormattedText. So I want to use that FormattedText property to load the markdown text. For example, I have below kinds of markdown text, 1. **Hi**, How are you? 2. Hello **John**, _Good Morning_ I want to automatically convert the markdown text like abo...
Selvamz
1

votes
2

answer
371

Views

Table labeling and referencing in Rmarkdown

I'm using markdown to render in PDF format. I am able to cross-reference plot, but when I build a table in LaTeX, I can't do it somehow. An example: We plot in Figure \@ref(fig:plotseries) the three Index series and their log return series. In Table \@ref(tab:summindex_stargazer) the main character...
toyo10

View additional questions