Most voted "graphic" questions
Graph is the attempt to visually express data or numerical values in different ways, thus facilitating their understanding. There are several types of charts and the most used are columns, lines and circular ones. If the question is not about "Graph", do not use this tag, even if you are using "Graph" in your project.
Learn more…162 questions
Sort by count of
-
1
votes2
answers99
viewsfind intersections in two graphs in python
I have a very simple but functional code. It obeys two mathematical functions, testing different values of x and returning the coordinates of the point if the result of the two functions is the same…
-
1
votes2
answers55
viewsLabel of data overlapping
I want to keep data labels organised in a way that does not overlap with each other. The idea is to keep them above geom_point or below.. depending on the position of the line. How can I proceed ?…
-
1
votes1
answer24
viewsThird axis and graph python
I need to make a graph that has 3 y. axes 1 on the left side and two on the right. I’m managing to plot them, but the ones on the right side stay one on top of the other. How to leave the side?…
-
0
votes1
answer419
viewsPie Chart by code line c#
I need to create charts at runtime, as the user asks. I found a code on the site Ti4fun in it the guy can alter the properties of Chart the way I want it. The problem is that I need to create a new…
graphicasked 8 years, 9 months ago Paulo Stanize 13 -
0
votes0
answers70
viewsHow do I implement a horizontal and vertical Linhaguia using NVD3.js?
The NVD3 library does not support a horizontal guide line, and the vertical cannot be controlled and does not return values it intercepts in the graph. What is the best solution to use it in my…
-
0
votes0
answers445
viewsPlotting graphics in Javascript
I am developing a web application and I need to generate a graph from data passed by a form, however I do not want to plot the complete graph at once, but rather make a kind of animation, where the…
-
0
votes0
answers83
viewsOptimize highchart chart chart
They asked me to add in my system a chart to compare 47 services and I opted for the highchart, however, in addition to the graph not working is with more than 5,000 lines of code, I need to reduce…
-
0
votes1
answer327
viewsChange the properties of an SVG object with JS
I’m learning about graphic creation SVG for HTML and would like to know how I can change the properties of an object SVG (line, cicle, rect) through JS for example, by clicking on a button it change…
-
0
votes1
answer74
viewsGraph that feeds on database data
I have a system that shows a table that prints each record with a button on the side responsible for opening a modal. I would like inside this modal to have a graph that compares the data of the…
-
0
votes0
answers202
viewsGraphic does not suit printing
I have a page that features several graphics and a button for printing. Although I have put the graphics in a small size and one next to the other to print several graphics on the same sheet, when I…
-
0
votes0
answers59
viewsGraphic error and simple list
import matplotlib.pyplot as plt x=[] y=[] z=[] dados=open('dados1.txt','r') for line in dados: line=line.strip() X,Y,Z=line.split() x.append(X) y.append(Y) z.append(Z) dados.close()…
-
0
votes0
answers147
viewsHow does the Highcharts License work?
I am developing an intranet for a company that is my client. For now it is only a prototype, only in the future will be marketed. On this intranet there are interactive graphics whose codes come…
-
0
votes1
answer63
viewsSlice an array
I’m having trouble with x2 values when trying to slice to display in graph 2 does not appear anything and I can’t see where I am missing? import matplotlib.pyplot as plt import numpy as np xold =…
-
0
votes1
answer63
viewsHow to generate a pdf of the graph generated by Treant JS
In my system I have an organization chart generated based on Treant JS and I would like to export as PDF, but exploring through the plug-in page I did not find anything related, anyone knows any way…
-
0
votes1
answer751
viewsincrease the size of matplotlib numbers
How can I increase the size of graph numbers (those marked on x and y axes) in matplotlib? Similar to changing font size.
-
0
votes1
answer301
viewsI can’t do doughnut and chartjs pie!
So I’m using the chartjs on a system here, but the pie and donut style does not display on the system. I imported the cdns: <script…
-
0
votes1
answer414
viewsChart numbers from Google Charts
I want to turn the percentage graph data into real numbers, how do I do it? I tried to read the documentation but could not find. Code: <html> <head> <script type="text/javascript"…
-
0
votes1
answer130
viewsAngular - ng2-Charts - Heading on x-axis
I am using (ng2-Charts) to implement a bar chart, and at the moment, I am trying to include a title with the percentage on the x-axis (as in the image below) and I am encountering difficulties.…
-
0
votes3
answers60
viewsVba - Graphic + Show Detail
Good Afternoon! Can anyone help with that code. I am trying to record a macro that when I click on the graph data series, it opens the cases in a new tab (How does show detail) When saving the code…
-
0
votes1
answer30
viewsCorrection of graphic counter
I have a graph and my system I need it to report the exact value of the searched results. Due to a lot of data, the results come out like this 1.1K. In the place that this 1.1K wanted it to show the…
-
0
votes1
answer40
viewsHow to change colors in graphics using matplotlib
I created a plot of points using matplotlib, but I want to put the following condition: For points above zero ( > 0) in Y paint green and for points below zero ( < 0) paint red.…
-
0
votes1
answer150
viewsGraphs highcharts plotting the dates which are the values valid for the month
I’m charting a graph that the date entries don’t match with the plotting. Example when I enter the date information 10/12/2017 it plots how (January 10, 2017) to correct this? Loading is done…
-
0
votes1
answer216
viewsGraphic Passing php data to js
Hello, I have a php file with a div calling the js file, but I need the js file to read the php data in arquvio php: <div id="chart_div" style="width: 100%; height: 500px;"></div> in the…
-
0
votes0
answers287
viewsShow graph sum of objects - Django/Python/Sqlite
How to show a graph with the sum of objects with Django/Python/Sqlite? In this case we have 'internal boxes' (y-axis) for 'teams' (x-axis) that are rendering'internal boxes' values for each 'team'…
-
0
votes1
answer75
viewsR - Graphs with information from different columns
Hello, I have the following problem: I need to create a table and a chart with information on educational level for different positions of the firm for different years and regions. I have 4 levels…
-
0
votes1
answer770
viewsTurn two data lists into a graph with two parallel lines
Guys. I am since yesterday trying to do something that is very simple in Excel, but not in Python. I have two lists. Flap1 = [1,1,0,1,0,1] and Flap2 = [0,0,0,0,1,1,1] What I need to do is create a…
-
0
votes0
answers31
viewsCreate charts with data from a different worksheet and varying number of columns
I need to generate a graph for each line of a database. This database varies both in number of columns and number of rows, and is in a different spreadsheet, chanada Matrix 1. Whenever I run my code…
-
0
votes1
answer361
viewsGraphic creation c#
Good afternoon friends, I am creating a program in c# that should plot in a graph the current values of the serial port (Arduino) in a picture box. To draw the graph I am creating points(x,y) and…
-
0
votes1
answer149
viewsDoubt in the use of the lavacharts library in Laravel consulted Mysql
Gentlemen, I am using the Google library to Lavacharts, but I have the following result: On my controller I’m doing so: $graf = new Lavacharts; $valor = $graf->DataTable(); $valores =…
-
0
votes1
answer1065
viewssort graphing and fix value in python
I’m trying to make a graph of the variation of the prices of the Itau stock however the result is with the values of disordered shares insira o código aqui import matplotlib.pyplot as plt dados =…
-
0
votes1
answer173
viewsHighcharts with Hours is possible?
I already searched the Highcharts page and I could not find a chart that is of hours, all whole numbers, with comma etc, but I can not find any chart that you have with hours. Someone has some clue…
-
0
votes0
answers79
viewsHelp - highcharts how to make a Dynamic dropdown filter
I’m new around here and I could use some help. I’m starting to develop an HTML Dashboard where it will contain charts and dynamic tables with PHP. I don’t have the content yet but I’m studying and…
-
0
votes1
answer1174
viewsCartesian plans in Python
Good evening, good afternoon and good morning. I am 15 years old and am studying about second degree equations, Cartesian plan and functions. Because of this, I made a code to calculate the roots,…
-
0
votes1
answer36
viewsCount how many id you have in the table based on other data
Hello I’m trying to make a chart in aspnetcore using EF, I have a table Events in it contains a FK Idarea that determines the area of the event I wanted to count how many events you have of each…
-
0
votes1
answer34
viewsAutomatic lap update with last 12 data
So guys, I’m already trying for hours and nothing. I want the chart to update automatically with the last 12 data placed. I am trying to put the following formula in the NAME MANAGER:…
-
0
votes1
answer24
viewsplotting plineplot with Seaborn excluding certain elements
I would like to plot a lineplot with sns but didn’t want it to plot a specific line sns.set_palette('Accent') sns.set_style('darkgrid') ax = sns.lineplot(x=dados['date'],y=dados['cases'],err_style=…
-
0
votes1
answer328
viewsChange the maximum values on a bar chart in Seaborn(barplot)
When I go to "plot" a bar chart it modifies my values on the Y-axis proportionally , but I want them to stay with the real values they have in the dataset, as I change this configuration? dataset:…
-
0
votes1
answer152
viewsProblem with key in ggplot, using double axis y + geom_line()+geom_point() x geom_bar()
Hello, I have another problem regarding the presentation of legend, in this case, using axis y double (ggplot::scale_y_continuous::sec_axis), and geom_line()+geom_point() x geom_bar(), as shown in…
-
0
votes1
answer55
viewsHow do I make a multidimensional array return by ajax
good morning, I have the following code (this working), it returns me to Ajax an array with integers. <?php date_default_timezone_set('America/Sao_Paulo'); require_once '../conexao/conexao.php';…
-
0
votes0
answers82
viewsHow to plot bar graph with matplotlib + Counter()
Hello! I’m trying to plot a bar graph from Data Science from Zero, but it’s very different from the book. Note: the book is in Python 2 and I am using Python 3 In the book, is: from collections…
-
0
votes1
answer45
viewsChange the color of only one of the bars/columns of the graph generated in PPTX - Apache Poi
I’m working with the Apache Poi v4.1.2 in the Java for file generation .pptx, slide display on PowerPoint. I’m basically using the Apache Poi to generate slides with graphics, so far so good, I am…
-
0
votes1
answer349
viewsAverage and median boxplot legend in ggplot2 function
I am trying to add a caption identifying that the "ball" is the mean and the "line" is the median of the boxplot chart as follows: mediasCon1 = tapply(dados$FS, dados$Trat, mean) boxplot(dados$FS ~…
-
0
votes0
answers20
viewsUnable to use Graphviz in R
I elaborated an analysis of structural equations with the semPLS package, according to the following code. fit.inicial <- plsm(data = data, strucmod = sm, measuremod = mm) fit.semPLS<-…
-
0
votes1
answer105
viewsAdjusting axis values on a Python chart
I’m trying to pull the white squares out of a graph in Python (using a Jupyter Notebook in Anaconda). I would like the xx axis to end at 1.3 and the yy axis to end at 1.2. I tried to adjust it with…
-
0
votes1
answer43
viewsContinuous time data in R
I’ve put together a dataset of covid-19 cases per monthly death, but I can’t plot the results. Does anyone know a more elegant or correct way to do this? I processed the database, and at the end…
-
0
votes0
answers12
viewsChange xx axis in Python
Good afternoon. I’m trying to create a graph in Python, but I wanted to separate the lines and the dots on the left and right so that you can see these dots and not get too close together. How could…
-
0
votes1
answer71
viewsChanging chart data label
I would like to leave the bar data label of graph "1" equal to graph 2, removing the background color from the label and coloring the numbers. I’m using the argument geom_label on both charts, but…
-
0
votes1
answer17
viewsProblem generating column chart grouped in R
Hello! I have a problem to generate a chart in R. I would like to make a chart of columns grouped using the following data described in the image below. In this case the bits would be for each of…
-
-1
votes1
answer32
viewsGrid with charts that replace each other
I’m creating a page with a grid that should have 3 charts, one at each grid position. But all the graphs are in the same position of the grid and end up replacing the previous graphs (Graph 2…
-
-1
votes1
answer438
viewsswap decimal separator in python
How do I change the decimal point separator to comma and then generate a graph? I used the following command, no error, but the chart continues with point as decimal separator import locale loc =…