Posts tagged with Highcharts

  • Create a simple Highcharts bar chart with real time update

    I need to use Highcharts for one of my recent projects to show the voting results. The library is very easy to use and flexible :)

    Below is an example of how to set it up to create a simple bar chart and customize its labels:

    1.  var pollChart;
    2.      $(document).ready(function() {
    3.          var colors = Highcharts.getOptions().colors;
    4.          var teamsJson = [{"name":"Team A","voteCount":"98"},
    5.                                {"name":"Team B","voteCount":"32"},
    6.                        {"name":"Team C ","voteCount":"45"}] ;
    7.          // use...
    Read More