ASP图表。多X轴值 [英] ASP Chart. Multiple X axis values

查看:205
本文介绍了ASP图表。多X轴值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图拥有一个水平条形图,有两个系列,其中一个有巨大的价值(1000,5000),另一个倾向于有较小的(10,100)。

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

这样但是水平:
具有多个X轴列的ASP图表

问题是我无法为每个图表创建一些不同的范围/图例。

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.

我如何做到这一点?

我尝试过不同的事情,比如使用这个语句:

I have tried different things like using this statement:

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

out ...

推荐答案

seriesSmall.YAxisType = AxisType.Secondary;

这篇关于ASP图表。多X轴值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆