X Axis Max Value

Hi

In any type of chart type. I want to display only 10 data point. Other values need to be display when in move the x axis value.

Below is the example
http://jsfiddle.net/uWdkw/

Thanks,
Nithya

The easiest way to achieve this would be by specifying an axis range: https://plot.ly/javascript/reference/#layout-xaxis-range

Hi

I thing my explanation is wrong. Let me put it in this way

If i have 40 Data points to show in X axis. By Default it should display only 10 Data points on Mouse Move on x Axis i should be able to view the other data points.

Thanks
Nithya

I’m not sure what you mean by “by default”. Do you mean, in the first view 10 pts should be displayed and then 40 after a mouse move?

Yes, you are right

Thanks
Nithya

This http://codepen.io/etpinard/pen/mVQjxJ should get you started.