When i am trying to give Years in X axis. X axis range is determined automatically. Example if i have X axis value as 2015,2016 X axis value is setting as 2014.5 ,2015,2015.5,2016,2016.5 Which is wrong. My X Axis should display only 2015,2016. Can you please help me on this. Below is the codepen for the same.
xaxis-type (enumerated: “-” | “linear” | “log” | “date” | “category” )
default: "-"
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.