title: how to remove odd number from yaxes in chartjs using angular?
body: <p><a href="https://i.stack.imgur.com/nQoeB.png" rel="nofollow noreferrer">bar chart</a></p>
  <p>html file</p>
  <pre><code> &lt;div class=&quot;mychart&quot; &gt;
                  &lt;canvas width=&quot;3&quot; height=&quot;1&quot;
                    *ngIf=&quot;loaded&quot;
                    baseChart
                    [data]=&quot;barChartData&quot;
                    [labels]=&quot;barChartLabels&quot;
                    [options]=&quot;barChartOptions&quot;
                    [legend]=&quot;barChartLegend&quot;
                    [chartType]=&quot;barChartType&quot;
                    [colors]=&quot;chartColors&quot;
                  &gt;
                  &lt;/canvas&gt;
                &lt;/div&gt;
  </code></pre>
  <p>.ts</p>
  <pre><code>barChartOptions: ChartOptions = {
  
      
      responsive: true,
      legend: {
        display: false,
      },
  
      scales: {
        yAxes: [
          {
            gridLines:{
              lineWidth:0
            },
            ticks: {
              callback: function (value: number, index, values) {
                return '$ ' + Intl.NumberFormat().format(value / 100000) + 'K';
              },
             
            },
            
          },
        ],
        xAxes: [{
       
            gridLines: {
              lineWidth: 0,
              
              
            },
            
          },
         
        ],
       
      },
    };
  </code></pre>
  <p>how to remove the odd number values in chartjs using anuglar 12 . I m using chartjs version 2.9.4 and ng-charts 2 .4.2 . I have attached the image for reference . I don't know which property to use to remove the stepvalues in Yaxes.</p>
  <p>If reduce the size of the chart , chart became blurry</p>