ASP Chart. Multiple X axis values

2019-08-12 08:38发布

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...

1条回答
女痞
2楼-- · 2019-08-12 09:11
seriesSmall.YAxisType = AxisType.Secondary;
查看更多
登录 后发表回答