Giter VIP home page Giter VIP logo

codeigniter-highcharts-library's People

Contributors

philippe-actarus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeigniter-highcharts-library's Issues

Passing null values to missing points graphs

In case you need to pass null values to generate non linear data rows, you can't since the class simply discards empty or null values.

This is the fix for the moment: [file:application/library/highcharts.php:343]

public function push_serie_data($value = '', $serie_name = ''){

    if ($serie_name AND $value)
    {
        $index = $this->find_serie_name($serie_name);

        $value = (is_numeric($value)) ? (float)$value : $value;

        $this->opts['series'][$index]['data'][] = $value;
    } else {
        if($value===NULL) {
            $index = $this->find_serie_name($serie_name);
            $value = null;
            $this->opts['series'][$index]['data'][] = $value;
        }
    }
    return $this;
}

How to use for live data

Hello,

i want to show the real time live data that fetched from db (My DB data is keep on inserting )

I have 5 table 't1,t2,t5,t4,t5' . This will get updated in each sec or two .
So i want to show the total data in each table using line graph .How can i do this ???

enable datatables & Range Selector

How can I use a Range Selector (https://www.highcharts.com/docs/chart-concepts/range-selector) and how to enable datalabels in a bar chart

As here in js?

  PlotOptions: {
         Column: {
             Stacking: 'normal',
             DataLabels: {
                 Enabled: true,
                 Color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || 'White'
             }
         }
     },

thank you!!
Mauro

function template

Im sure template function have bugs.

  1. this code make some error in template function :

    $this->highcharts->set_serie_options(array('type' => 'spline'), 'Another description');
    when i delete this line, template function is work.

function active_record

the way function active_record display chart with template (second chart) have a bug. I try to change the code like this :

function _data()
    {
        $data['users']['data'] = array(536564837, 0, 153309074, 99143700, 82548200);
        $data['users']['name'] = 'Users by Language';
        $data['popul']['data'] = array(1277528133, 0, 420469703, 126804433, 250372925);
        $data['popul']['name'] = 'World Population';
        $data['axis']['categories'] = array('English', 'Chinese', 'Spanish', 'Japanese', 'Portuguese');
        return $data;
    }

i change the second value into '0', and this is what i get :
capture

'0' value didnt show, and displaying categories suppose to be 5, not 4.

JSON output usage?

Hi im wondering how would you use the JSON output you created on the library.
Im trying to use this JSON to create and populate the chart using just javascript & getJSON

formatter

how to use highchart's dataLabel formatter ?

using following syntax I get two $ char before and at the end of the function:
..
array = ('formatter' => "function() { return this.y }")

in html source code:
"formatter":"$$function() { return this.y }$$"

I get no errors but the formatter doesn't seems to work

thanks

Accented characters

Can't use accented characters for labels or titles, for example using letter "é" I got "u009C" rendered. Using a jsfiddle example of highchart, entering there letter "é", renders well.

Typo: credits

Line 34 if libraries/highcharts.php:

"enable" should be "enabled"

'credits' => array(
'enabled'=> true,
'text' => 'test',
'href' => ''
),

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.