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
34
votes
4 answers

In Bokeh, how do I add tooltips to a Timeseries chart (hover tool)?

Is it possible to add Tooltips to a Timeseries chart? In the simplified code example below, I want to see a single column name ('a','b' or 'c') when the mouse hovers over the relevant line. Instead, a "???" is displayed and ALL three lines get a…
bs123
  • 1,183
  • 3
  • 11
  • 21
13
votes
4 answers

Plotly: How to style a plotly figure so that it doesn't display gaps for missing dates?

I have a plotly graph of the EUR/JPY exchange rate across a few months in 15 minute time intervals, so as a result, there is no data from friday evenings to sunday evenings. Here is a portion of the data, note the skip in the index (type:…
Adnan Siddiquei
  • 433
  • 1
  • 5
  • 11
11
votes
2 answers

Plotly: How to show all the stacked y axis data values while hovering for three y layout and one x axis shared graph?

python 3.6 latest plotly used : The python Graph is created using plotly offline/Online function where three different dataframe inputs are used for y axis plotting and x axis are shared (In general it is Date index). The graphs are perfectly…
Marx Babu
  • 750
  • 3
  • 11
  • 34
11
votes
1 answer

Aggregate time series in python

How do we aggregate the time series by hour or minutely granularity? If I have a time series like the following then I want the values to be aggregated by hour. Does pandas support it or is there a nifty way to do it in python? timestamp,…
PK10
  • 111
  • 1
  • 1
  • 4
10
votes
3 answers

JFreeChart - change SeriesStroke of chart lines from solid to dashed in one line

The answer accepted here (JFreechart(Java) - How to draw lines that is partially dashed lines and partially solid lines?) helped me start down the path of changing my seriesstroke lines on my chart. After stepping through my code and watching the…
MAK Design Labs
  • 346
  • 1
  • 4
  • 16
8
votes
2 answers

Plotly: How to plot two lines from two dataframe columns and assign hover info from two other columns?

How to plot two line plots from two columns of a dataframe and also where another single column denotes the xaxis and another two columns denote the hover values(tooltip) of first two columns?
Jebin Bose
  • 81
  • 1
  • 1
  • 2
8
votes
2 answers

How to detect multiple plateaus and ascents and descent in the time-series data using python

Analysing time series data of bike trails, I would like to know the time interval for each plateau ,ascent and descent.Sample csv file is uploaded here. import pandas as pd import numpy as np import matplotlib.pyplot as plt from datetime import…
8
votes
4 answers

compare two time series (simulation results)

I want to do unit testing of simulation models and for that, I run a simulation once and store the results (a time series) as reference in a csv file (see an example here). Now when I change my model, I run the simulation again, store the new reults…
matth
  • 2,568
  • 2
  • 21
  • 41
8
votes
1 answer

JFreeChart - Timeseries and CandleStick on the same chart

I'm trying to produce a single chart in JFreeChart that consists of an overlaid candlestick chart and Timeseries plot. (a little like this) I have tried creating the Candlestick chart and adding an additional XY series along with it's it renderer…
Richard B
  • 895
  • 13
  • 39
7
votes
1 answer

How to customize title, axis labels, etc. in a plot of a decomposed time series

I'm reasonably familiar with the usual ways of modifying a plot by writing your own x axis labels or a main title, but I've been unable to customize the output when plotting the results of a time series decomposition. For example, library(TTR) t…
Peter Nelson
  • 85
  • 1
  • 2
  • 7
7
votes
1 answer

R - Color or shade area between lines

I'm trying to replicate with R a chart I made on Excel, which should represent a 95% Confidence Interval (CI) around a time series forecast. The Excel chart looks like this: So, basically, the original historical time series and from a certain…
Riccardo
  • 337
  • 1
  • 2
  • 7
7
votes
1 answer

time series with 10 min frequency in R

My data is memory consumption of an application for every 10 minute interval for the last 26 days.My start date is Oct 6th 2013 and end date is Novemeber 2nd 2013.I've read the data in to a time frame and cleaned it up. Now am trying to create a…
Aneel K
  • 73
  • 1
  • 4
6
votes
1 answer

How to plot uniform time-series in MongoDB Charts

I've just started to use MongoDB Charts to plot incoming data from a series of IoT devices that send at regular intervals. Each device sends a package with a timestamp and some data (JSON to our NoSQL db), and I would like to plot several devices on…
6
votes
3 answers

Using 'time' type on X axis of ECharts for timeseries graphing

I'm using ECharts 4.0.4 (http://echarts.baidu.com/) to graph some sensor data with timestamps on the X axis. Have tried with legacy series data and datasets (new on v4), but 'time' axis type won't work properly. With 'category' it works fine: var…
5
votes
3 answers

how to highlight weekends for time series line plot

I am trying to do analysis on a bike share dataset. Part of the analysis includes showing the weekends' demand in date wise plot. My dataframe in pandas with last 5 row looks like this. Here is my code for date vs total ride plot. import seaborn…
Chinmay Das
  • 400
  • 6
  • 18
1
2 3
26 27