douhuibo5635 2017-04-03 21:53
浏览 112
已采纳

如何在highcharts中显示所有数据? [关闭]

I have input all of my data in controller and view. I took data from database anyway. When I try to run my code, not all of the data appeared in chart display. For example, I want to display 11 data in xAxis. But, only 10 data that can be displayed in xAxis.

I have table like this:

enter image description here

I have controller like this: https://pastebin.com/M2QFF73V

I have view like this: https://pastebin.com/cZ2B4hXM

my codes result:

enter image description here

there is year 2015 in table but why 2015 didn't display in chart? why the chart just displayed 10 data?

How to display all of data?

Thanks in advance

  • 写回答

1条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥20 有ASP .NET MVC做的小说阅读网站吗?
      • ¥20 beeline客户端支持ipv6地址连接hive服务
      • ¥15 香农解码的代码问题,无法输出解码结果
      • ¥15 Python操作注册表
      • ¥45 入门级别的一段VUE前端拍照像后端发送请求的代码,帮排错
      • ¥15 anaconda打开spyder后一直闪退,不知道怎么办
      • ¥15 解决迷宫问题中无法运行的问题
      • ¥15 关于aspnetcore中使用mqttnet库的entire
      • ¥15 关于#python#的问题,请各位专家解答!
      • ¥100 关于远控软件的两个问题