I downloaded monument.ai a while ago and was trying it out with my data. It shows only the bar chart instead of line chart. Does anyone else have this problem? How can I change it?
I have actually resolved this problem by reconstructing my date format. If Monument.ai doesnt recognize the data format, it will not treat it as a time series, thus no line chart.
Related
I am trying to create a chart with double axis showing both a percentage value and a absoute value.
Just Like that:
My issue here is that I cant find a way to choose the data type on the second image:
Does anyone knows hot to?
Have a nice day everyone,
I'm trying to add a bar for my plot in GrADS software. However, run cbar or set gxout bar kind of commands does not work. How can I possibly add a bar into my plot in GrADS.
Below is attached my plot created using GrADS.
Thanks in advance
Edit: The bar is on right side and shows the range of meteorological data.
I'm trying to make a graph like the one found here at the very bottom: https://www.data-to-viz.com/caveat/spaghetti.html
unfortunately I have a character variable instead of a numeric one for the x axis (I have four years by months), and I don't get the grey lines as in that graph per panel. Does anyone know how else to obtain that graph?
It's hard to say without more details/an example, but it seems like you should be able to do this using the gghiglight package. There's a facetted example half way down this page.
I'm working on a set of scatter plots in R, and I want to add a vertical line to all of them. The x-axis is in Date type, and I think that's the problem for me. When I call
abline(v=movie_revenues$X, col="orange")
the line does not show up on the plot. The column "X" is the movie's premiere date, in this form: "11-Dec-2011". When I try to cast it as a date using as.Date(), it gives me an error saying that the text is in ambiguous form.
From this, I guess there are two points where I could have gone wrong.
R doesn't recognize 11-Dec-2011 as a date, but tries to plot it anyway without throwing an error, resulting in a missing vertical line; or,
the date is recognized correctly, but I've called abline
incorrectly, or abline's plotted the line too thin/small for me to
see (the y-axis on these plots are very large).
I'm new to R, so please let me know if there's anything silly I've missed.
Thanks!
The issue was resolved when I used the lubridate package for BOTH my x-axis and my vertical line. For some reason, when I used as.Date() for the x-axis points but lubridate for the vertical line coordinate, the line would not appear.
I have basic bar charts showing some value (1 value per chart) on each day. The charts are rendered using standard MS ASP.NET charts.
Now I would like to add a trend line. Has somebody done such thing and would be so kind to give me some hints how to approach this task? I know how to add a line to the chart, just would like to know whether someone already did such thing.
If I have understood the question correctly, you want to show a line graph using the same values that each bar is drawn.
You can do this by adding one more series with chart type as line to the same chart area.
Make the Y-axis for the series as secondary and keep X-axis as primary (to keep same X-axis values for both Bar & line graph). Or you can also make X-Axis of this new series as Secondary (this will show labels on top of chart area) .