• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ronan-gloo/codeigniter-highcharts-library: Highcharts library for codeigniter

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

ronan-gloo/codeigniter-highcharts-library

开源软件地址(OpenSource Url):

https://github.com/ronan-gloo/codeigniter-highcharts-library

开源编程语言(OpenSource Language):

PHP 100.0%

开源软件介绍(OpenSource Introduction):

Highchart library for Codeigniter

What is Highcharts?

Highcharts is a charting library written in pure JavaScript, offering an easy way of adding interactive charts to your web site or web application. Highcharts currently supports line, spline, area, areaspline, column, bar, pie and scatter chart types.

About this library

Note: This library is still in early development stage. Any bug report and/or ideas/improvements are welcome.

Complete documentation will be available soon.

Features:

  • generate charts from Active Record result
  • use template(s) from config file(s)
  • share global options for your charts
  • generate multiples charts in one shoot
  • output embedable js/html, json string or array
  • magic set/unset/push methods for all first level highcharts options object.

Magic methods

All first level highcharts options can be "set/push/unset", so if the API is improved, new methods will be available. Methods parameters should be arrays or object

ie :

$this->highcharts->set_global(array('useUTC' => false))

Native methods

  • set_title('title', 'subtitle')
  • set_axis_titles('x_title_text', 'y_title_text')
  • render_to('div_id') (without '#')
  • set_type('bar or area orÉ')
  • set_dimensions('width', 'height')
  • set_serie((array)options, 'serie_name')
  • set_serie_options((array)options, 'serie_name')
  • push_serie_data('value', 'serie_name')
  • push_categorie('value', 'axis'(x or y))
  • from_result((array)options)
  • add()
  • get((bool))
  • get_array((bool))
  • render()
  • clear((bool))

take a look to the source code for more informations

TODO

  • doc
  • implement choice of jquery or mootools for domready
  • generate result form html table lib ?
  • more shorcut methods

Highcharts infos

Highcharts - Interactive JavaScript charts for your web pages:

download highcharts

API reference




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap