Questions tagged [yaxis]
360 questions
0
votes
1 answer
Fix both y-axis to 0 highcharts
I am trying to make a highchart, with both negative and positive values. Now the thing is, that negative values, are not very big, compared to the positive ones.
Here is a picture of the graph as is:
Now if you look closely on both the y-axis, they…
Jannik
- 371
- 1
- 2
- 13
0
votes
1 answer
hiding tick value on the y axis that are negative
I am trying to hide any value on the y axis that is less than 0. I saw that to hide labels on the y axis I have to use something like this:
make_invisible = True
ax4.set_yticks(minor_ticks)
if (make_invisible):
…
jms1980
- 785
- 1
- 12
- 31
0
votes
1 answer
Microsoft ReportViewer: Customize Y-Axis labels to match a specific format
I would like to customize the Y axis labels of a graph plotted with Microsoft ReportViewer.
What I want is to have a logic like the following:
If (value>1000000)
return value/1000000 & "M"
else
return value
For example if the value of the…
Eux
- 313
- 4
- 15
0
votes
2 answers
Matlab: plot lines parallel to the y axis
I want to plot all lines parallel to the y axis with x=10, 20,30,...,100
I wrote x as:
x=linspace(1,100,10);
and I try to plot in this way:
figure(1)
plot([x; x], [zeros(1, length(x))*min(ylim); ones(1, length(x))*max(ylim)],'r')
but this does not…
user3582433
- 417
- 1
- 6
- 22
0
votes
1 answer
Behavior of log axis
I heard Log values should always be a power of log base. I was playing with the log axis demo in highcharts
http://jsfiddle.net/jjg4z79x/
I set min value of yaxis to 9. This shows unexpected values in labels of log axis 4, 10, 20, 40, 100, 200, 400,…
Kira
- 1,315
- 13
- 44
0
votes
0 answers
Put correct labels on y-axis with matplotlib
I have an OHLC candlestick graph and i want put the correct labels on y-axis but i cant, i want to put the close price in y-axis. This is my code and data.
the graph looks like this :…
Samael Olascoaga
- 151
- 7
0
votes
1 answer
facet_wrap(scales="free_y") not producing desired result
I am trying to create a plot using ggplot2 with 9 subplots. My goal is to allow the vertical axis to be scaled at the individual level for each of the 9 subplots. To that end, I am trying the syntax facet_wrap(scales = "free_y"). However, it does…
user2808302
0
votes
2 answers
Change the y axis length for boxplots with R
is there a way to increase the y axis length to the maximun value?
When I use this code:
par(mfrow=c(3,5))
for (i in…
T. Veiga
- 181
- 2
- 9
0
votes
1 answer
Preventing Y Axis movement in Unity `transform.forward`
I am creating a 3D game in Unity, and I have a script that lets the player look around with the mouse. For moving the player in the direction they are looking, I am using transform.forward. My problem is that when they are looking at the ceiling and…
Sub 6 Resources
- 1,257
- 12
- 30
0
votes
1 answer
Format function for y-axis title text in highcharts.js
I am creating line charts with dynamic data using highcharts.js API. I need to change the title of y-axis depending upon the visible series using button. Currently I am doing this which is working fine.
…
JEECoder
- 145
- 1
- 1
- 11
0
votes
1 answer
How can I fix misaligned ticks on the y axis of my plotly graphic?
This is how my code is looking like right now:
library(plotly)
library(RColorBrewer)
year <- c(1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006)
amt <- c(11000, 16000, 21000, 27000, 33000, 37000, 43000, 54000,…
LauraP
- 301
- 1
- 4
- 13
0
votes
0 answers
Break in data in ggplot2
I know that Hadley has made a point about not inserting breaks in data,
but, is there a way of putting a break in this data in ggplot 2? I really like the package and am dreading having to change all my graphs and learn another package.
My data…
LucySHE
- 307
- 1
- 2
- 9
0
votes
1 answer
jqPlot multiple series labels with multiple yaxis
I have some multiple series for jqPlot with labels correctly stored in:
data.labels=[[label:'A'],[label:'B'],[label:'C']]....
which I can successfully use by:
series: data.labels,
highlighter: {
show: true,
sizeAdjust: 6,
…
iMarh
- 155
- 11
0
votes
0 answers
Highcharts: Logarithmic scale for Waterfall bugs
When trying to set my yAxis to logarithmic type on a Waterfall chart, Highcharts throws the following error.
Error 10 : Can't plot zero or subzero values on a logarithmic axis
I've tried setting pointStart: 1 in my series, also tried to set…
Kabulan0lak
- 2,021
- 1
- 15
- 27
0
votes
3 answers
MPAndroidChart: yaxis is not aligned to zero It shows middle of the chart
For set Y values I used this code snippet
ArrayList yVals = new ArrayList();
int sizeOfY = analyticsWeek.getGraph().size();
if (sizeOfY > 7)
sizeOfY = 7;
for (int i = 0; i < sizeOfY; i++) {
…
Anant Shah
- 3,069
- 27
- 46