title: How to make a range according to the selected segment?
body: <p>It is necessary to make a range according to the selected mode, but scichart draws the wrong interval. For example, I want to set the interval to 1 day. Using SciChart.</p>
  
  <p>settings x axis</p>
  
  <pre><code> val xAxis = sciChartBuilder.newCategoryDateAxis()
              .withBarTimeFrame(60.0*60.0*24.0) //seconds in day
              .withDrawMinorGridLines(false)
              .withGrowBy(0.0, 0.1)
              .build()
  </code></pre>
  
  <p>result
  <a href="https://i.stack.imgur.com/5H8ww.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5H8ww.png" alt="result"></a></p>
  
  <p>about how it should look
  <a href="https://i.stack.imgur.com/bqABu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bqABu.png" alt="about how it should look"></a></p>