typescript - Make dxChart use exact values for horizontal axis -


i using month number horizontal axis (argumentfield: "datemonth").

my input data has entries month 6 , month 7.

however, horizontal axis has made it's own? 6, 6.2, 6.4, 6.6, 6.8 , 7.

obviously, makes no sense whatsoever.

how make use values given only?

sample of code:

    series: [                 {                     argumentfield: "datemonth",                     valuefield: "baselinecount",                     name: "baseline",                     type: "bar",                     color: '#00ffff',                      label: {                         visible: true,                         backgroundcolor: '#fff',                         font:                         {                             color: '#000',                             weight: 800                         },                     },                 }, 

set argumentaxis.type option "discrete".


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -