Home › Forums › Chart Support › Define the pitch/step of the chart › Reply To: Define the pitch/step of the chart
@Emeric,
You can achieve the desired width between dataPoint by setting viewportMinimum and viewportMaximum.
For your second query, you can find the pixel co-ordinates of first and last dataPoint using convertValueToPixel. Please, take a look at this jsFiddle.
—- Bivek Singh, Team CanvasJS