x轴中的日期值未正确显示 [英] date value in x axis not show properly

查看:82
本文介绍了x轴中的日期值未正确显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用dotnet条形图控件。这些值来自db。


 


示例数据:


id    rova​​lue    date


1    30        12/07/2010


2    40        16/07/2010


3    60        20/07/2010


 


xaxis value:date


yaxis value:rovalue


 


根据我在这里提供的样本数据,我在图表控件中获取并绑定时,它可以正常工作


 


但我的问题是xaxis 显示所有值b / w 12/07/20 / 07-20 / 07/2010


我不想要这样的格式我必须在x轴值中显示上述3个日期 


 我设置间隔mode = 1然后不需要的x轴值消失了。但差距显示在两个日期间隔之间.i需要日期值的连续条形图而没有图表中的任何差距 


 


Sudhesh。 G
$
http://gurucoders.blogspot.com

解决方案

我遇到了同样的问题。 HIX。

i'm using the dotnet bar chart control .the values are getting from db .

 

sample data:

id    rovalue    date

1     30         12/07/2010

2     40         16/07/2010

3     60         20/07/2010

 

xaxis value : date

yaxis value :rovalue

 

it works when i getting and binded in chart control as per the sample data here i metioned

 

but my problem is xaxis showed all the values b/w 12/07/20/07-20/07/2010

i dont want the format like this i have to show the 3 above dates in xaxis value 

 i set the interval mode=1 then the unwanted x axis value are gone.but the gaps showed between two date interval .i need the continuous bar chart for the date value with out any gap in chart 

 


Sudhesh. G
http://gurucoders.blogspot.com

解决方案

I got the same problems. Hix.


这篇关于x轴中的日期值未正确显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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