I am trying to make a Timeseries chart showing the price of a currency for each day for the last 15 years.
But the end result just a mess when there is ticker for each day for the given time period. Is there a quick fix to show just have a one item for each year in the x axis?
And secondly, I am trying to have just the year in the x axis instead of of the full date ( 2002 instead of 01/01/2002 for example), any easy way to achieve that?
A portion of my data:
import pandas as pd
from bokeh.charts import TimeSeries, show, output_file
from bokeh.models import FixedTicker
from bokeh.models import SingleIntervalTicker, LinearAxis
dosya = ("csv file’)
USD = pd.read_csv(dosya, parse_dates=[‘Date’])
data = dict(
p = TimeSeries(data,
x='Date', y=['USDTRY'], color=['USDTRY'], dash=['USDTRY'], title="Timeseries", ylabel='Historical USDTRY', legend=True)