Giter Club home page Giter Club logo

kanion's Introduction

Framework:springMVC3.2+spring3.2+mybatis3.1

1、图表导出功能
Highcharts提供将图表导出(或下载)为常见图片文件及打印图表功能。想要使用该功能,只需要引入exporting.js即可
<script src="js/modules/exporting.js"></script>
提示:exporting.js 存在于/highcharts-3.0.9/js/modules/目录下,如果不使用导出功能,不引入
exporting.js即可。引入exporting.js后,在图表即可看到导出功能。

2、图表主题
Highcharts提供图表更换主题功能,只需要引入主题js文件即可更换主题。除默认主题样式外,Highcharts官方提供5款可选主题,当然你也可以设计自己的图表主题。
Highcharts提供的主题文件存在/Highcharts-3.0.9/js/themes/目录下,例如给图表添加灰色(gray)主题的代码是
<script src="js/themes/gray.js"></script>

3、json返回注意事项
如果返回的json需要框架自动转化,则返回的json的请求链接不能以htm或html结尾。否则返回的内容当成html/text来处理,没有调用json,然后就抛这个异常。出现错误
“The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers ().”

kanion's People

Watchers

James Cloos avatar zhsi avatar

Forkers

watiktak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.