在图形上显示不正确的值 [英] displaying incorrect values on graph

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

问题描述

我正在使用WebChart Control制作线形图,该线形图是从DataSet中获取数据的.

数据集显示在图形上方,但表和图形上的值不同.有人知道为什么吗?

解决方案

一个非常广泛的问题,很少有细节.值减去多少?是四舍五入的问题吗?图表如何配置?您是否为每个数据库使用相同的数据表?有很多事情可能是错误的,但是您没有提供很多细节. page_load调用了创建图形的方法.

但现在一切正常.


Hi, I''m using WebChart Control to make a line graph, which gets data from a DataSet.

The DataSet is displayed above the graph, but the values on the table and graph differ. Does anyone know why?

解决方案

A very broad question with so little detail. How much are the values off by? Is is a rounding issue? How is the chart configured? Are you using the same DataTable for each? There are many things that could be wrong but you have not supplied many details.


I found a solution when i create the graph in page_load it works, where as previously I made a call statement in page_load that called the method that creates the graph.

But all works now.


这篇关于在图形上显示不正确的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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