Posts by Taisbevalle • 8,942 points
184 posts
-
3
votes4
answers2450
viewsA: What is the :: (two-point double) in Angularjs?
What is the difference between the two? What is the difference between the first syntax and the second? The "::" is called One-time Binding, the difference is the ability to process data once and…
-
2
votes1
answer54
viewsA: Problem creating table in the database
When you receive this error message use the command below to get more details: SHOW ENGINE INNODB STATUS; The most common reasons when creating a foreign key are that both the referenced field and…
mysqlanswered Taisbevalle 8,942 -
6
votes2
answers335
viewsA: How do the parameters that LINQ methods receive work?
Operation of the parameters, you find in documentation microsoft. public static IEnumerable<TSource> Where<TSource>( this IEnumerable<TSource> source, Func<TSource, bool>…
-
2
votes1
answer2200
viewsA: Abstraction Difficulty in Use Cases
There are some tips to know what is and what is not a use case? Use case is used to identify and record the functional requirements of the system. Use Case Diagrams help communication between…
-
3
votes3
answers21511
viewsA: How do I insert an image as the background of a div?
Apparently everything is correct. Try to use background, instead of background-image: .imagemDeFundo{ background: url('imgs/backgroundpage.png'); width: 400px; height: 400px; }…
-
8
votes3
answers3547
viewsA: Meaning of parameters in an AJAX request
In the documentation (in English), has the meaning of the parameters. async: By default, all requests are sent asynchronously, defined with true. If you need synchronous requests, set this option to…
-
18
votes3
answers3547
viewsQ: Meaning of parameters in an AJAX request
When making a request using $.ajax, What is the meaning of processData: false, contentType: false and async: false, what are these fields for? There is difference in using type: "post" or type:…
-
0
votes1
answer69
viewsA: Condition Else being called at the wrong time
Your condition else is being called why the tipoBike is different from "MTB". You should put a else before. import java.util.Scanner; public class BikeFit2 { public static void main( String[] args )…
-
0
votes2
answers3565
viewsA: Difference between operating system and mobile platform
The platform needs an Operating System, the most common being the Windows operating system running on a PC with an Intel processor. Definition: Operating System is a program or a set of programs…
-
4
votes7
answers21016
viewsA: What does the term Fallback mean?
Fallback specifies which file to use if you try to access a file that is not stored. Fallback is different from Rollback. Rollback is a term used in the sense of restoring data to a condition that…
terminologyanswered Taisbevalle 8,942 -
1
votes1
answer128
viewsA: Portugol doubts about assigning values to characters
I can’t really understand what you want, but I think it helps you: INICIO VARIAVEIS quantidade, potencia: inteiro; tipo: char; ESCREVA("Digite a quantidade de usinas: "); LEIA(quantidade);…
portugolanswered Taisbevalle 8,942 -
31
votes3
answers13759
viewsQ: Difference between %i and %d
Is there any difference between printf("%d", x); and printf("%i", x);? I know the two return the same result, have some kind of convention adopted to always use the %d?…
-
0
votes3
answers797
viewsA: Count numbers 1 in binary number after decimal base conversion
Use a for: for (i=0; i<strlen(valor); i++){ if(valor[i]=='1'){ count++; } }
-
1
votes1
answer606
viewsA: PDF formatting
You can do it this way: String[,] colunaLargura = { { "Equipamento", "2" }, { "Modelo", "3" }, { "Placa", "3" }, { "Cor", "2" }, { "Ano Fabricação", "2" }, { "Data/Hora", "3" }, {…
-
0
votes1
answer101
viewsA: Change attribute in Jquery
To make the graph responsive you must call the function resizeCharts() within the function drawChart(). google.load("visualization", "1", {packages:["corechart"]});…
-
1
votes1
answer369
viewsA: Annotations Google Chart - Stacked Horizontal
In options, inside annotations, of your adding chart alwaysOutside: true. var options = { chart: { title: 'Gráfico Clientes', subtitle: 'Total Clientes', }, bars: 'horizontal', // Required for…
-
2
votes1
answer769
viewsA: How to place two or more Google Charts on the same page using JSON and Asp.Net
Yes. You can put as many charts as you want. Example: function desenhaGraficos(){ desenhaGraficoValor(); desenhaGraficoCores(); } Just change: google.charts.load('current',…
-
2
votes1
answer718
viewsA: How to convert image size to A4 format with iTextSharp
Use the ScaleToFit. In my example I put an image in the format Bitmap (imagemConvertida), I set the size I wanted with the ScaleToFit and left her justified with the Element.ALIGN_JUSTIFIED.…
-
1
votes1
answer1532
viewsA: Change caption line Google Charts
I’m not sure I understand what you want. To display small values on the pie chart use: sliceVisibilityThreshold: 0, in options. Example: var options = { fontSize: 11, backgroundColor: 'transparent',…
-
1
votes1
answer316
viewsA: How to insert title to a Table Charts from the google Chart API
In accordance with the Documentation, does not have this option for tables. What you can do is put the title above the div table: <h3>How Much Pizza I Ate Last Night</h3> <div…
-
0
votes1
answer181
viewsA: Problem when trying to use a chart and table with Google packages
The correct import is: google.load('visualization', '1', {'packages': ['corechart','table']}); To call use a function: google.charts.setOnLoadCallback(desenhaTabelaGrafico); Function…
-
1
votes2
answers489
viewsA: How not to overlap labels(Annotations) in google Harts?
In options, inside annotations, of your adding chart alwaysOutside: true. Leave the notes outside. annotations: { textStyle: { color: 'black', fontSize: 11, }, alwaysOutside: true } In that part of…
-
4
votes1
answer245
viewsA: How to add image on second page with setAbsolutePosition iTextSharp C#?
The setAbsolutePosition you arrow the position of the image. To add the image to the second page of the document use: NewPage(). Document document = new Document(PageSize.A4.Rotate(), 20, 20, 20,…
-
0
votes1
answer331
viewsA: Updating data from charts already instantiated
When you click the button you redesign the entire chart. $("#botaoAtualizar").click(function(){ redrawChart(); }); Use the function you have already done passing the new data. function drawChart() {…
-
1
votes3
answers676
viewsA: Datatables highlight line with higher percentage
You can scroll through the entire table looking for the highest value and highlight it. Sort of like this: maiorValor = primeiroValorTabela; $(tabela).each(function(i) { var valorAtual =…
-
0
votes1
answer87
viewsA: Sending an e-mail with Asp
Sending email is not a simple thing. If using Smtp, you will need to configure it, in addition, the email must be configured correctly(in the tab Encaminhamento e POP/IMAP) Take a look at: E-mail…
-
1
votes1
answer319
viewsA: Warming - Source file not compiled
I have two tips for you: Do not put space in the folder and program name. Use ProgramasFaculdade/QuantidadeAzulejos.cpp Place return 0; at the end of your code.…
-
0
votes2
answers2517
viewsA: Textarea without scrollbar
Use the property of css calling for overflow-y: scroll. That way you can do the textarea automatically descend. #textAreaId{ overflow-y: scroll; resize: none; }…
-
3
votes1
answer110
viewsA: It is possible to put an Animation in the Chart pie
You can highlight the information: google.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Tarefas', 'Horas por dia'], ['Trabalho', 11],…
-
2
votes3
answers1915
viewsA: What are [ ] bash for?
In summary: The [ ] works in the same way as ( ). A good explanation about this can be seen on the site Programming in shell script. Flow control are commands that test some alternatives, and…
-
0
votes1
answer45
viewsA: Problem with Hibernate at the time of lodging
You need to specify the dialect in your file Hibernate.cfg <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
-
1
votes1
answer1487
viewsA: Increase icon size in browser tab
You can use: <link rel="shortcut icon" href="images/m8.ico" sizes="16x16">
-
2
votes3
answers3976
viewsA: Align Text vertically with Bootstrap without fixed height
Use the padding-top with the Calc. <div class="col-md-3" style="background-color:blue; padding-top: calc(x + y);"> Quadrado 2 <br /> Quadrado 2 <br /> </div> <div…
-
4
votes2
answers100
viewsA: How to manipulate title="" by c#?
Using Javascript, make an ajax request: $.ajax({ type: "POST", async: false, url: '@Url.Action("SetarTitulo", "Controller")', contentType: 'application/json', dataType: "json", data:…