Hi Marco,
Thanks for the update.
We have analyzed your query. You requirement can be achieved using two ways.
Method 1: using edgeLabelPlacement property.
By using the edgeLabelPlacement property as shift, you can able to shift the edge labels(first & last label) of the axis, so that the labels will can be seen clearly. Find the code snippet to achieve this requirement.
JS:
$("#fcs-chart").ejChart({
primaryXAxis:
{
edgeLabelPlacement:"shift",
},
//...
});
|
Screenshot:
Find the modified sample from below link.
Method 2: Using plotOffset property.
By using plotOffset property, you can able to add padding for the particular axis. Here we have specified plotOffset in terms of pixels, so that the specified padding will be added at both sides of axis. Find the code snippet to achieve this requirement.
JS:
$("#fcs-chart").ejChart({
primaryXAxis:
{
plotOffset: 30
},
//...
});
|
Here we have specified plotOffset as 30, you can change this with respect to your requirement.
Screenshot:
Sample for reference can be find from below link.
Kindly revert us, if you have any concerns.
Thanks,
Dharani.