Questions tagged [axis-labels]

The labels on any axis of a plot

The labels on any axis of a plot. For example, the x and y axis labels of a 2D plot.

Use this tag for problems regarding the typography, visibility, layout, and/or placement of the axis labels in your plot.

1631 questions
0
votes
1 answer

Highcharts: how to select column (crosshairs) on mouseover xAxis labels

How I can select column (crosshairs) on mouseover xAxis labels? I can mouseover label, but don't know how to select column. $(document).on('mouseover', '.highcharts-axis:eq(' + (axisCount - 1) + ') text, .highcharts-axis-labels:eq(' + (axisCount -…
Nadia
  • 41
  • 1
  • 3
0
votes
0 answers

Customizing dateAxis of a PrimeFaces chart

I have a problem with the DateAxis in a Primefaces LineChartModel. The chart gets fed with values for each hour per day, the x - axis range is the 21th from one month to the 20th next month, its all good but primefaces automatically adds a label for…
PROLOGik
  • 68
  • 1
  • 1
  • 8
0
votes
1 answer

Matlab: Increase bar chart area for long tick labels when saving

I have a bar chart with x-labels that are quite long. How do I save the figure such that the labels don't get cut off like below - do I just scale it down? Also is it possible to save it as a cropped pdf to the figure and labels only so that I can…
0
votes
0 answers

D3, how to ungroup x-axis similar values

I am new to d3. I am trying to display all values on the x-axis, however the code is grouping similar values. How can I ungroup so that all values show. Even duplicates. Here is my code: //JSON DATA var data = [ { "due": 89.99, …
K2R
  • 143
  • 1
  • 1
  • 9
0
votes
1 answer

Missing x axis labels in R plot

I have three data frames, not very exciting data I know, but this is not the problem I am trying to address. > Ascidcv Date Average SE 3 2014-09-01 37.250000 6.326673 15 2014-10-02 6.285714 2.738613 > Ascidc1 …
opalfruits
  • 719
  • 2
  • 7
  • 12
0
votes
0 answers

How to set x-axis and y-axis intervals in time_series graphs?

I have a timeseries dataframe and here below you can see reproducible data for top 50 rows of my dataframe. DT1 <- structure(list(Tool = c("M_01", "M_01", "M_01", "M_01", "M_01", "M_01", "M_01", "M_01", "M_01", "M_01", "M_01", "M_01", "M_01",…
Chanti
  • 525
  • 1
  • 5
  • 15
0
votes
1 answer

ggplot2 long x-axis variable names - re-aligning the plot

I am making a bar chart using ggplot2. The code is as follows: ggplot(rt5, aes(x = reorder(Retweet, -Freq), y = Freq, fill = Retweet)) + geom_bar(stat = "identity") + xlab("Top 5 Retweets of KKRiders") + ggtitle("Top 5 Retweets…
Apricot
  • 2,925
  • 5
  • 42
  • 88
0
votes
1 answer

How do we dynamically change the axis labels in Microsoft Excel 2010 depending upon the unit chosen for corresponding values?

Let's say I have a chart in Excel where the x-axis has months in the last one year and y-axis has sales in either dollars or euros. Is there a way using which we can have the y-axis labels contain the corresponding currency symbol ($ or €) depending…
Anirudh Sharma
  • 115
  • 3
  • 15
0
votes
1 answer

How to show all axis labels of point in all series

I need to show all axislabels of point. For example i have two series and one point in each series: in series 1: [1,3][axis_label1]; in series 2: [1,5][axis_label2]. I need to show axis_label1 and axil_label2 under x axis coordinate 1. But by…
Vorotnyak_Nazar
  • 894
  • 1
  • 10
  • 22
0
votes
1 answer

Placing ticklabels on logscale

I have a plot with an inset and I have problem setting the tick position and labels at the position that I want. I have a graph with an inset and I have the problem with the inset. The code I have for the inset is the following: import…
Kay Jansen
  • 65
  • 1
  • 6
0
votes
1 answer

R - change size of axis labels with ROCR

I want to increase the size of the axis labels. The data contains ROC curves, drawn by ROCR. library(ROCR) # load the sample data and create an performance object data(ROCR.hiv) pp <- ROCR.hiv$hiv.svm$predictions ll <-…
ERoss
  • 1
  • 3
0
votes
1 answer

What's the matter with the STEP parameter in my Highcharts graph?

I would have said that defining the STEP parameter for the xAxis would be rather straightforward. But there are weird things happening with my graphs. One thing is that although I am assigning a STEP value of 1, it only displays every fifth year. If…
luftikus143
  • 1,285
  • 3
  • 27
  • 52
0
votes
1 answer

transitioning rotated axis labels with D3

I'm trying to create a graph that updates as new values are coming in. In order for the labels on the X axis to be readable I decided to rotate them slightly, so they don't overlap. When there's a new value, it's being drawn in the graph, then the…
fholzer
  • 340
  • 3
  • 13
0
votes
1 answer

Double labels on x-axis for ggplot2

I am using ggplot2 to plot two different discrete variables on the same graph, and the breaks I obtained for the two variables are obviously different. I would like to label the breaks on the x-axis with superimposed values of said labels, rather…
Chris. Z
  • 365
  • 1
  • 7
  • 17
0
votes
1 answer

How to display specific years only on xAxis in a column-graph with Highcharts

Having trouble to display only the two selected years in my column chart. It always adds other years to it and the chart looks terrible. It should display "2007" and "2010", but shows "2006", "2008" and "2010". I guess it's a small thing to change,…
luftikus143
  • 1,285
  • 3
  • 27
  • 52