简体   繁体   中英

How to force DevExpress chart to show labels only for available values?

Let me try to explain the problem:

DevExpress散点图

  • To which we need to bind the following data:

DevExpress散点图的数据

We need to show the first column provider id as X axis' series label.

Now, if we look at the chart, there're only four places where the X axis' series label is required however, there're multiple X axis' series labels.

We need to show the X axis' series labels only for the points for which we have data on Y axis.

It's understood that the chart is automatically adjusting the X axis' series label as numbers.

How can one force chart to show labels only for available values?

To accomplish this, adjust the Series.ArgumentScaleType property and set it to Qualitative .

source

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM