Hi Gabriel,
We have analyzed your query. From that, we would like to let you know that we can achieve your requirement by using chartArea property in the chart. If you need to remove the xAxis line too you can use the lineStyle property in the axis of the chart. Based on your requirement we have prepared a sample for your reference. Please find the below sample, code snippet, and screenshot.
Code Snippet:
app.component.html:
<ejs-chart style='display:block;' [chartArea]='chartArea' [width]='width' align='center' id='chartcontainer' [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis'>
<e-series-collection>
// add additional code here
</e-series-collection>
</ejs-chart>
app.component.ts:
// add additional code here
public chartArea: Object = {
border: {
width: 0
}
};
public primaryXAxis: Object = {
valueType: 'Category', interval: 1, majorGridLines: { width: 0 },
majorTickLines: { width: 0 },
lineStyle: {width: 0}
};
|
Screenshot:
Let us know if you need further assistance.