Open bhonea opened 6 years ago
@bhonea ,How to use [yAxisTicks]="[0,20,40,60,80,100]", when i use the same , its not working.
Any news on this?
I encountered the same problem today, the workaround that fixed it for me was setting the yScaleMin and yScaleMax attribute accordingly.
[yScaleMax]="100"
I have the problem using yScaleMin, since even if I set the minimum value to zero, the lines come out below the value. Instead of being consecutive on the zero line. Any idea what I'm doing wrong?
<ngx-charts-line-chart [xAxis]="xAxis" [yAxis]="yAxis" [curve]="curve" [scheme]="colorScheme" [results]="gasLines" [yScaleMin]="0" [yScaleMax]="500">
I'm submitting a ... (check one with "x")
ngx-charts
tag) or the gitter chat for support questionsCurrent behavior When utilizing the yAxisTicks attribute on a line chart, the top most tick is not attached to the rest of the graph.
Expected behavior The top most Y axis tick must be attached to the graph.
Reproduction of the problem Attaching a screenshot to demonstrate, as well as the data set and html used.
data.txt
Please tell us about your environment: MacOS 10.12.6, Intellij IDEA 2017.2.6, npm
ngx-charts version: 7.3.0
Angular version: 5.2.7
Browser: all
Language: TypeScript 2.4.2