FAQ Database Discussion Community


Removing or Hide dynamically created linklabels and labels

c#,winforms,loops,labels,linklabel
Background I create a set of linklabel and label controls using a loop that uses data from a database as there content (Text). Question How do I then remove or change there visibility? What I would Like to Happen? On a button click event, I would like all of the...

Symfony2 disable form label html escape

forms,symfony2,escaping,labels
I have a form label printed like this: {% set txt = 'Im OK with the <a href="#">terms and conditions</a>' %} {{ form_label(form.terms, txt) }} But obviously this will escape the html tag and will print something like this: <label>Im OK with the &lt;a href="#"&gt;terms and conditions&lt;/a&gt;</label> Is there a...

ggplot statbin with labels

r,ggplot2,labels
How to get rid of the zero labels? ggplot(df, aes(x=value)) + stat_bin(binwidth=200) + stat_bin(binwidth=200, geom="text", aes(label=..count..)) ...

Superscript in a graph label for SAS SGPLOT

graph,sas,labels,superscript
I am creating a graph via SAS SGPLOT and I need to superscript a character in the label. Is there a simple way to do this? The graph is a scatterplot with a regression line. It's a comparison of measurements, basically the same thing measured 2 different ways. Since the...

how to change size(out) = [m n] in matlab

matlab,size,labels
This is a continuation of my previous problem, so now i want to know how to change array size and how to use size(out) = [m n]. so basically if you have 10x10 array and you want to plot column 9 vs. column 10 in scatter plot, and you want...

Using custom tick lables on x-axis in D3js

javascript,d3.js,labels
I have made a heatmap in D3js with day of year (integer between 1..365) on the x-axis, and time of the day (integer between 1..24) on the y-axis. For each hour in the year a dot is indicating the temperature by its color. I have tried to find a way...

Matlab: Labeling Data Points in a Polar Plot

matlab,labels,polar-coordinates
I have an interesting question to ask, I have searched thoroughly and to my dismay it seems that no has had trouble with this. I would like to label all the data points in a polar plot in Matlab. The code is very simple so far, it is as follows:...

Open Layers 3 Labels won't show

javascript,labels,openlayers-3
I'm trying to make my map display labels. But no text is showing up on my map. There are no errors. Here's how I create the style: labelItem = {name: "name1", font: "arial", fontSize: 20} computeFeatureStyle = function(labelItem) { return new ol.style.Style( { stroke: new ol.style.Stroke({ color: 'black' }), text:...

gnuplot - splot inline data and point labels

gnuplot,labels
Hi Im using this data to get a 3d/2d like histogram. I want to label each histogram column with a 'dx cx' label preferable on top of the column. With my example the graph is drawing correctly, but there are no labels. if I'm using only the using 1:2:3:4 with...

Dynamically generating labels in loop

arrays,vb.net,visual-studio,loops,labels
I'm having a bit of a problem. Granted, I'm not the best with VB, but I can't figure out for the life of my why this isn't working. I have an Access database that I pull data from. I'm trying to dynamically create labels so I can present the data...

to labels put random values from database c#

c#,ms-access,labels
I need to select from database random nicknames and show these nicknames to multiple labels. My code show only one nickname in all these labels ,but I need after button click random nicknames ,what is in database ,show in labels. void Button1Click(object sender, EventArgs e) { OleDbConnection connection = new...

Stata: Retrieve variable label in a macro

variables,stata,labels
I'm generating graphs for several variables using a do-file, I would like to be able to retrieve a variable label (so that I could use it for the graph title). In my dreams, something along those lines: sysuse auto, replace local pricelabel = varlab(price) display "Label for price variable is...

How to add dynamic data labels inside of .avi animation?

matlab,animation,labels
I've made 3D animation (.avi) with "scatter3". I have 3 sets of data points where X,Y (both are matrix 1 by 24) are fixed data points and Z is matrix 485 by 24 (only Z coordinate changes with time). I also include grid using "mesh", where all data points have...

How can i use vb.net to read and print all html label innerhtml text on a webpage

html,vb.net,html-agility-pack,innerhtml,labels
So i have HTML agility pack. I am attempting to read a webpage html. I need the contents of a label but am unsure of how to obtain it. I know what the for attribute is.. but i don't know how to use it to get the innerhtml of the...

Take array from one form and display contents in labels on another form

arrays,vb.net,forms,labels
I am working on some code that stores a user's answers into an array and compares them with another array with the correct answers in it. I have already got that part working. The part I am stuck on is having the user's answers appear in labels on another form(...

Uploading Strings in an array of labels to parse

ios,arrays,xcode,parse.com,labels
I have an application with a lot of labels on it indicating numbers that the user chooses. These numbers are displayed in labels. The main goal of the app is to upload those numbers in an array to Parse. I'd like some help on which road I should take. I...

VBA Excel Label Generator, Adding a number for each type of label

excel-vba,labels
Morning guys. I made a Label Generator in Excel, on which I converted the items chosen in dropdown lists to leters which translate to these items chosen. This convertion is quite simple. If tipoChosen = "UTP" Then tipo = "U" End If This happens for every user input about the...

Python tkinter setting label text from function

python,tkinter,labels
I have a label in a tkinter window and a function which outputs the current date in spanish. I am trying to set the label text to the date given by the function but it doesnt work. the code is the following: root = Tk() root.title("Tarea Programada 2") root.geometry("800x700+350+100") fecha...