Home › forums › Using CanvasJS › Define the pitch/step of the chart › Reply To: Define the pitch/step of the chart
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.
ASP.NET MVC Charts
ContactSales EnquiriesSupport ForumTwitter Support Handle