Questions tagged [timeserieschart]

A time series chart, also called a times series graph, is an illustration of data points at successive time intervals.

396 questions
2
votes
0 answers

x-axis range in Seasonal Decomposition of Time Series (STL)

I am performing a Seasonal and Trend Decomposition by Loess on a yearly time series, where I extract a long term trend and tri-annual quasi-periodic series from the raw data. The problem is that it doesn't seem to exist an option of ts with…
2
votes
0 answers

How to display multiple data lines in C3 timeseries chart for the given JSON data

I want to generate multiple timeseries chart in C3. My data in JSON looks like this below. I want "unixTS" on x-axis and for each ID, I want to display line with its tempValue on Y-axis. How do I display for each ID, like for ID 1, ID 2, ID 3 with…
user2301
  • 1,857
  • 6
  • 32
  • 63
2
votes
1 answer

Plotting timeseries in seaborn using pandas dataframe

I am trying to explore some data that I have imported from a .csv. Within the file, there are around 100 'Companies', each of which has a 'SG' and a 'RG' metric. The data has several years of data for these metrics across the columns. I am trying to…
NickP
  • 21
  • 2
2
votes
1 answer

R plot.xts error bars

Trying to put error bars on a time series plot using plot.xts > myTS[1:20] [,1] 2013-07-01 29 2013-07-03 24 2013-07-03 16 2013-07-03 16 2013-07-03 12 2013-07-03 12 2013-07-03 16 2013-07-03 21 2013-07-03 21 2013-07-03 …
ollama
  • 157
  • 2
  • 5
2
votes
2 answers

Assume value 0 on days with no data (C3js time series chart)

When given an array of non-consecutive days rendered in a C3js chart, lines are drawn directly between points. Is there a setting that allows C3js to interpret days not supplied as having value 0, such that lines between non-consecutive days will…
kuanb
  • 1,618
  • 2
  • 20
  • 42
2
votes
1 answer

Plotting a weekly time series for multiple districts together

I have a dataframe like this which contains information of 52 weeks of 100 districts in India. A sample dataframe is attached below, however this extends to 52 weeks and 100 districts(Eg.-Viala, Barontha and so on). "Block" 01 Jan/ 05 Jan 06…
amankedia
  • 377
  • 2
  • 8
  • 23
2
votes
3 answers

C3js timeseries chart generates overlapping bars

The timeseries chart for my CSV data generates overlapping bars. Is there an issue with the library? Attaching the image, my code and my CSV data (Which is parsed into a JSON final_data before using in code). var chart = c3.generate({ bindto:…
Vishal Sharma
  • 2,550
  • 1
  • 23
  • 40
2
votes
0 answers

ggMap with Time Series Scale in R

Updated: First attempt at a question on stack so apologies if I don't meet proper conventions first go round. I'm wanting to see if anyone has created a plot using ggMap that applies a time series scale to data. My goal is to show how 'conversions'…
Stu Richards
  • 141
  • 1
  • 11
2
votes
1 answer

geom_vlines multiple vlines per plot

How can I get ggplot to produce something similar like library(ggplot2) library(reshape2) library(ecp) synthetic_control.data <- read.table("/path/synthetic_control.data.txt", quote="\"", comment.char="") n <- 2 s <- sample(1:100, n) idx <- c(s,…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
2
votes
1 answer

Auto-correlation with weekly data

I am a new user to R and try to calculate weekly auto correlation between 2 financial time series with ccf function. Here is my code: SPX_ImpliedVola_ts<-ts(SPX_ImpliedVola$x, start=c(2005), end=c(2014), freq=52) SPX_GSV_ts<-ts(SPX_GSV$x,…
Alexander
  • 23
  • 4
2
votes
0 answers

how to set minimum date in jfree time-series chart

We are trying to display Timeseries chart with dynamic x-axis values. We are using the below code, which contains date values in the first argument. Can any one suggest the way how to set minimum date to x-axis tick values for(int…
Srinivas B
  • 1,821
  • 4
  • 17
  • 35
2
votes
2 answers

Discrete time-series graph with unknown y range

In a discrete time-series graph, I have tried replacing ax.plot(x,y) by ax.vlines(x,y): I get the error: vlines() missing 1 required positional argument: 'ymax' However, I cannot know the ymax value beforehand. How can I avoid this error…
Stephane Rolland
  • 38,876
  • 35
  • 121
  • 169
2
votes
1 answer

JFreeChart - How to show real-time on the X-Axis of a TimeSeries chart

I want to show live data on a TimeSeries chart with real time shown on the x-axis (or at least have the speed of the time the same as real-time). Here is a SSCCE of the problem with random numbers as the live input. The time shown on the x-axis is…
Will Hardwick-Smith
  • 969
  • 3
  • 13
  • 24
2
votes
2 answers

Week Number to Starting Date of Each Week in R

A few questions have come close to what I am looking for, but I can't find one that gets it right on. I have sales data for several products for each day over a 6-year period. I summed the data by week, starting January 1, 2008. During the period…
datahappy
  • 826
  • 2
  • 11
  • 29
1
vote
1 answer

JFreeChart's plot doesn't intersect with the axes

I'm currently using JFreeChart, but the the end of my plot doesn't intersect with the axes, plz have a look at my pic. How could I get rid of that problem?
TU_HEO DAKAI
  • 2,197
  • 8
  • 28
  • 39