简体   繁体   中英

ASP Chart. Multiple X axis values

I have been trying to have a chart with horizontal bars, with 2 series, one of them has huge values (1000,5000) and the other one tends to have smaller ones (10,100).

Something like this but on horizontal: ASP Chart with multiple X axis columns

The problem is that I'm unable to have some kind of different range/legend for each one. The small one stays small, but I would like to have some kind of proportional, having 2 legends on bottom.

How could I do that?

I have tried different things like using this statement:

    seriesSmall.XAxisType = AxisType.Secondary;
    chart.ChartAreas[0].AxisX2.Maximum = 200

But it did not work out...

seriesSmall.YAxisType = AxisType.Secondary;

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