All Projects → gfazioli → Morris Php

gfazioli / Morris Php

Licence: bsd-2-clause
A PHP model and useful class for Morris.js project

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Morris Php

Chartify
📊 📈 📉 React.js plugin for building charts using CSS
Stars: ✭ 671 (+6000%)
Mutual labels:  chart
Uplot
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Stars: ✭ 6,808 (+61790.91%)
Mutual labels:  chart
Amcharts4
The most advanced amCharts charting library for JavaScript and TypeScript apps.
Stars: ✭ 907 (+8145.45%)
Mutual labels:  chart
Chartkick.py
Create beautiful Javascript charts with minimal code
Stars: ✭ 695 (+6218.18%)
Mutual labels:  chart
Ggcharts
可以高度自定义的图表框架。柱状图、折线图、雷达图、饼图、K线图、分时图。
Stars: ✭ 713 (+6381.82%)
Mutual labels:  chart
D3 Timeline
A simple D3 Timeline chart
Stars: ✭ 743 (+6654.55%)
Mutual labels:  chart
Vis Timeline
📈 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
Stars: ✭ 654 (+5845.45%)
Mutual labels:  chart
Reasonbizcharts
ReasonML binding for BizCharts https://bizcharts.net/products/bizCharts/demo
Stars: ✭ 23 (+109.09%)
Mutual labels:  chart
Oxchart
各种自定义图表库,使用简单,支持扩展
Stars: ✭ 715 (+6400%)
Mutual labels:  chart
D3fc
A collection of components that make it easy to build interactive charts with D3
Stars: ✭ 898 (+8063.64%)
Mutual labels:  chart
Ngx Graph
Graph visualization library for angular
Stars: ✭ 704 (+6300%)
Mutual labels:  chart
Xychart
XYChart is designed for line & bar of charts which can compare mutiple datas in form styles, and limited the range of values to show, and so on.
Stars: ✭ 707 (+6327.27%)
Mutual labels:  chart
Swiftuicharts
A simple line and bar charting library that supports accessibility written using SwiftUI.
Stars: ✭ 778 (+6972.73%)
Mutual labels:  chart
React Timeseries Charts
Declarative and modular timeseries charting components for React
Stars: ✭ 690 (+6172.73%)
Mutual labels:  chart
Multi charts
A flutter package which makes it easier to plot different types of charts with lots of customization, made purely in dart
Stars: ✭ 23 (+109.09%)
Mutual labels:  chart
Bizcharts
Powerful data visualization library based on G2 and React.
Stars: ✭ 5,771 (+52363.64%)
Mutual labels:  chart
Jzandroidchart
Android 股票图表库
Stars: ✭ 740 (+6627.27%)
Mutual labels:  chart
Chart.xkcd
Chart.xkcd is a chart library that plots “sketchy”, “cartoony” or “hand-drawn” styled charts.
Stars: ✭ 6,982 (+63372.73%)
Mutual labels:  chart
Seal Report
Open Database Reporting Tool (.Net)
Stars: ✭ 918 (+8245.45%)
Mutual labels:  chart
Dypiechartview
Animated Pie Chart using Custom CALayer.
Stars: ✭ 5 (-54.55%)
Mutual labels:  chart

Morris PHP v0.6.0

Latest Stable Version Total Downloads Latest Unstable Version License

This project is a PHP part for Morris.js ( http://morrisjs.github.io/morris.js/ ).

You can use this PHP class to wrap the Morris Javascript class

Getting Started

  1. Download Morris Javascript lib from http://morrisjs.github.io/morris.js/
  2. Include main morris.php php file
  3. Include chart base morris-charts.php php file
  4. Include all or single chart that you like use

Getting Started with Composer

  1. Use composer.json

Examples

public function draw()
{
  ?>
  <div id="my-charts"></div>
<?php
  $morris = new Line( 'my-charts' );
  $morris->xkey = array( 'date' );
  $morris->ykeys = array( 'value' );
  $morris->labels = array( 'Money' );
  $morris->data = array(
    array( 'date' => '2010', 'value' => 88 ),
    array( 'date' => '2011', 'value' => 18 ),
    array( 'date' => '2012', 'value' => 28 ),
    array( 'date' => '2013', 'value' => 48 ),
  );
  echo $morris;
}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].