Git Product home page Git Product logo

morris.js's Introduction

Morris.js - pretty time-series line graphs

Build Status

Morris.js is the library that powers the graphs on http://howmanyleft.co.uk/. It's a very simple API for drawing line, bar, area and donut charts.

Cheers!

- Olly ([email protected])

Contributors wanted

I'm unfortunately not able to actively support Morris.js any more. I keep an eye on the issues, but I rarely have the time to fix bugs or review pull requests.

If you're interested in actively contributing to Morris.js, please contact me on the email address above.

Requirements

  • jQuery (>= 1.7 recommended, but it'll probably work with older versions)
  • Raphael.js (>= 2.0)

Usage

See the website.

Development

Very daring.

Fork, hack, possibly even add some tests, then send a pull request :)

Remember that Morris.js is a coffeescript project. Please make your changes in the .coffee files, not in the compiled javascript files in the root directory of the project.

Developer quick-start

You'll need node.js. I recommend using nvm for installing node in development environments.

With node installed, install grunt using npm install -g grunt-cli, and then the rest of the test/build dependencies with npm install in the morris.js project folder.

Additionally, bower is required for for retrieving additional test dependencies.
Install it with npm install -g bower and then bower install in the morris project folder.

Once you're all set up, you can compile, minify and run the tests using grunt.

Note: I'm experimenting with using perceptual diffs to catch rendering regressions. Due to font rendering differences between platforms, the pdiff tests currently only pass on OS X.

Changelog

0.5.1 - 15th June 2014

  • Fix touch event handling.
  • Fix stacked=false in bar chart #275
  • Configurable vertical segments #297
  • Deprecate continuousLine option.

0.5.0 - 19th March 2014

  • Update grunt dependency #288
  • Donut segment color config in data objects #281
  • Customisable line widths and point drawing #272
  • Bugfix for @options.smooth #266
  • Option to disable axes individually #253
  • Range selection #252
  • Week format for x-labels #250
  • Update developer quickstart instructions #243
  • Experimenting with perceptual diffs.
  • Add original data row to hover callback #264
  • setData method for donut charts #211
  • Automatic resizing #111
  • Fix travis builds #298
  • Option for rounded corners on bar charts #305
  • Option to set padding for X axis labels #306
  • Use local javascript for examples.
  • Events on non-time series #314

0.4.3 - 12th May 2013

  • Fix flickering hover box #186
  • xLabelAngle option (diagonal labels!!) #239
  • Fix area chart fill bug #190
  • Make event handlers chainable
  • gridTextFamily and gridTextWeight options
  • Fix hovers with setData #213
  • Fix hideHover behaviour #236

0.4.2 - 14th April 2013

  • Fix DST handling #191
  • Parse data values from strings in Morris.Donut #189
  • Non-cumulative area charts #199
  • Round Y-axis labels to significant numbers #162
  • Customising default hover content #179

0.4.1 - 8th February 2013

  • Fix goal and event rendering. #181
  • Don't break when empty data is passed to setData #142
  • labelColor option for donuts #159

0.4.0 - 26th January 2013

  • Goals and events #103.
  • Bower package manager metadata.
  • More flexible formatters #107.
  • Color callbacks.
  • Decade intervals for time-axis labels.
  • Non-continous line tweaks #116.
  • Stacked bars #120.
  • HTML hover #134.
  • yLabelFormat #139.
  • Disable axes #114.

0.3.3 - 1st November 2012

0.3.2 - 28th October 2012

  • Area charts! #47.
  • Some major refactoring and test suite improvements.
  • Set smooth parameter per series #91.
  • Custom dateFormat for string x-values #90.

0.3.1 - 13th October 2012

  • Add formatter option for customising value labels in donuts #75.
  • Cycle lineColors on line charts to avoid running out of colours #78.
  • Add method to select donut segments. #79.
  • Don't go negative on yMin when all y values are zero. #80.
  • Don't sort data when parseTime is false #83.
  • Customise styling for points. #87.

0.3.0 - 15th September 2012

  • Donut charts!
  • Bugfix: ymin/ymax bug #71.
  • Bugfix: infinite loop when data indicates horizontal line #66.

0.2.10 - 26th June 2012

  • Support for decimal labels on y-axis #58.
  • Better axis label clipping #63.
  • Redraw graphs with updated data using setData method #64.
  • Bugfix: series with zero or one non-null values #65.

0.2.9 - 15th May 2012

  • Bugfix: Fix zero-value regression
  • Bugfix: Don't modify user-supplied data

0.2.8 - 10th May 2012

  • Customising x-axis labels with xLabelFormat option
  • Only use timezones when timezone info is specified
  • Fix old IE bugs (mostly in examples!)
  • Added preunits and postunits options
  • Better non-continuous series data support

0.2.7 - 2nd April 2012

  • Added xLabels option
  • Refactored x-axis labelling
  • Better ISO date support
  • Fix bug with single value in non time-series graphs

0.2.6 - 18th March 2012

  • Partial series support (see null y-values in examples/quarters.html)
  • parseTime option bugfix for non-time-series data

0.2.5 - 15th March 2012

  • Raw millisecond timestamp support (with dateFormat option)
  • YYYY-MM-DD HH:MM[:SS[.SSS]] date support
  • Decimal number labels

0.2.4 - 8th March 2012

  • Negative y-values support
  • ymin option
  • units options

0.2.3 - 6th Mar 2012

  • jQuery no-conflict compatibility
  • Support ISO week-number dates
  • Optionally hide hover on mouseout (hideHover)
  • Optionally skip parsing dates, treating X values as an equally-spaced series (parseTime)

0.2.2 - 29th Feb 2012

  • Bugfix: mouseover error when options.data.length == 2
  • Automatically sort options.data

0.2.1 - 28th Feb 2012

  • Accept a DOM element or an ID in options.element
  • Add smooth option
  • Bugfix: clone @default
  • Add ymax option

License

Copyright (c) 2012-2014, Olly Smith All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

morris.js's People

Contributors

alexbrinkman avatar chriserin avatar csalch avatar dgilperez avatar dulacp avatar dump247 avatar ebeigarts avatar fran6co avatar gtr32x avatar jaminellis avatar jeltef avatar jonthornton avatar kkirsche avatar littlebtc avatar mathieubigorne avatar mickele avatar mortonfox avatar msabbott avatar oesmith avatar omarkhan avatar pelletier avatar scockram avatar simonoff avatar stlk avatar sudodoki avatar tangerilli avatar thedjinn avatar tzulberti avatar unimatrixzxero avatar usualoma 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

morris.js's Issues

Memory leak when redrawing graphs

When I call Morris.Line(...) many times within a web page, the browser leaks memory.

I noticed the problem when designing a web page that uses a 1 second timeout to load new data points (via ajax), then I plot the new points using Morris.Line(). Thus the webpage has the appearance of a rolling graph, which looks great. But the browser leaks memory like crazy (1MB/second or more in my project).

Ajax might contribute to the leaks, so I created a simple example with no ajax (html below). My browser leaks around 5MB/minute while viewing the sample. I measure the leaks using Windows Task Manager. I'm running Windows 7 Professional. I see similar leakage rates in Chrome 17.0.963.79 m and Firefox 12.0 .

<title>Real time data</title> <script src="js/jquery-1.7.1.min.js"></script> <script src="js/raphael-2.0.2-min.js"></script> <script src="js/morris.min.js"></script> Graph 0
<script> var nReloads = 0; function draw() { Morris.Line({ element: 'graph0', data: [ {'date': '2012-06-01 15:06:57', 'Apples': 672, 'Bananas': 644, 'Oranges': 185, 'Peaches': 218, 'Pears': 0}, {'date': '2012-06-01 15:06:58', 'Apples': 380, 'Bananas': 259, 'Oranges': 65, 'Peaches': 115, 'Pears': 0}, {'date': '2012-06-01 15:06:59', 'Apples': 305, 'Bananas': 258, 'Oranges': 60, 'Peaches': 132, 'Pears': 0}, {'date': '2012-06-01 15:07:00', 'Apples': 568, 'Bananas': 481, 'Oranges': 137, 'Peaches': 215, 'Pears': 0}, {'date': '2012-06-01 15:07:01', 'Apples': 654, 'Bananas': 538, 'Oranges': 162, 'Peaches': 265, 'Pears': 0}, ], xkey: 'date', ykeys: ['Apples', 'Bananas', 'Oranges', 'Peaches', 'Pears'], labels: ['Apples', 'Bananas', 'Oranges', 'Peaches', 'Pears'], parseTime: false, hideHover: true, ymin: 0, ymax: 'auto 100' }); nReloads++; $('#reloadStatus').text(nReloads + ' reloads'); setTimeout(function() { draw(); }, 1000); } draw(); </script>

Cannot Set the Width and Height of Graph

Trying to fit a Morris graph within a predefined area and although the documentation says that the graph area must have width and height styled, I found this not to be true. I've tried setting the width and height of the graph in CSS just like the examples but it still displays the Morris graph as if the width had been set to 100%.

Label Onmouse over Jquery is not working

hi sir , i am a student ........... for my project i am using the charts but my data is in the form of year-mm-dd , count

by using that i get a graph ...........in previous your examples when ever mouse moving in the poing it shows some label and count...........that is not working properly to me for the last point and first point label is working

please give me the reply

Issues with Periods for Graph

I'm trying to make a line graph of two variables, a truancy rate and the number of absences for that month. Right now, it's being displayed as this:

tax_data = [
               {"period": "2011-09", "trate": 46, "absent": 11},
               {"period": "2011-12", "trate": 50, "absent": 1},
               {"period": "2012-01", "trate": 20, "absent": 1},
               {"period": "2012-02", "trate": 33, "absent": 1},

    ];

The way you have the period being parsed is with parse_year(). I tried to modify the parse year to return almost the same as what you did for the "2011 Q3" periods:

function parse_year(year)
{
     var e = year.split('-');
          return parseInt(e[0], 10) + (parseInt(e[1], 19) * 11 - 1) / 12;
}

But it doesn't come out so well:
as you can see

How would you approach this one? This is the way I have my old graph:

old graph

But it doesn't look or feel as nice as the one from morris.js.

"undefined" x-axis text when there is only one point in graph

When there is only one point in the graph (which is rather possible when plot is generated via some server-script) the x-point is signed as "undefined" no matter what value you've passed to Morris() in options.data . In my case it was
options.data = [{y: "23.03", a: 5}] and point (circle) was signed on x-axis as "undefined".
I've fixed this that way:
this.xmin = Math.min.apply(null, this.xvals);
this.xmax = Math.max.apply(null, this.xvals);
if (this.xmin === this.xmax) {
this.xmin = 0; //that is the line I've changed (original was this.xmin -= 1;)
this.xmax += 1;
}
Now it seems that all is working fine, but i can't be 100% sure

By the way, huge thanks for that very convenient library

Create a way to format the values in donuts

I came across this thing: I'm saving the values in seconds, but I need to show them in hours:minutes...
Would be nice if Morris had a formatter to show values on Donuts charts (and other as well)

Make graph zoomable as an option

I've got a graph with many points (like a million points in a month). Show some high-low points when not zoomed in and increase the number of shown point while zooming into a certain part of the graph. When zoomed in the graph should be scrollable left-to-right.

sraka1

Negative values

Hi, your work is fantastic and I'd really like to use it but need the negative value issue solved. I've seen the other 2 cases asking for this as well, I'd really appreciate if you could tell me when do you expect you could add this.

Thanks a million,

Jazz

Graph very unhappy if values are all 0

If it happens that the input data is all 0s (it can happen!), the graph really doesn't look good. For example:

Morris.Line({
element: 'annual',
data: [
    { y: '2012', a: 0},
    { y: '2011', a: 0},
    { y: '2010', a: 0},
],
xkey: 'y',
ykeys: ['a'],
labels: ['Series A']
});

I'm not sure how best to fix this - perhaps add a default ymax that's ignored if it's exceeded, so that the y axis always has a height of some kind?

Ability to display intervals below x-axis, "units of" and legend

First of all: Thanks for a great piece of work!

I am currently writing a thesis, and have found morris.js very useful to visualize data along a time axis. However, there are few features that I really miss:

I'd like to display periodic intervals with a text label. Example: I want to visualize the effect that changing licensing schemes have on community size (number of active community members). Say license A was used for 3 years, license B for 4 years and so on. One alternative would be to display events (i.e. introduction of new license) as a bullet below the x-axis, another to (supplementary) to visualize the intervals somehow (e.g. with borders), and a third to extend the bullets below the x-axis with vertical lines that cross the x-axis and graphs.

Another nice feature would be if one could display large numbers along small ones (e.g. by displaying the large ones in thousands or millions). Of course, one can manipulate the data before putting them into a js / json format. But then the data becomes harder to use for other purposes, and labels only show values in thousands / millions.

An optional legend that explains which colored graphs correspond to which types of values (similar to tooltip, but which is displayed regardless of mouse position). This would extend the possible utility to publishing.

add ability to show all tooltips by default

I have integrated morris.js into an iPhone app. Touch event related to webView is not correctly fired so I need to display all tooltips by default to show point data without the user need to tap on them.
I'm trying to do this editing morris.coffee but since now I've not found a real solution.
I've tried to edit hilight: and updateHover:

Anyone can help me? Thank you, Stefano

Option to disable rounding of label values

Now Morris drows a chart like http://cl.ly/0s0p0u283Z2f3j0J0A3Z for the code like

Morris.Line({
            element: 'u_price_quotes',
            data: [                
                    {date: '2010-11-02', value: 10.83},
                    {date: '2010-11-03', value: 10.45},
                    {date: '2010-11-04', value: 10.60},
                    {date: '2010-11-05', value: 10.70}
                    ],
            xkey: 'date',
            ykeys: ['value'],
            labels: ['Series A']
        });

So, the value is rounded when is displayed in the label. Is there any option to disable the rounding?

dynamic data with jquery ajax dont work

hello community, i try to append data dynamically to morris using jquery $.get() $.load() ,with and without json encode but that dont work itried also a hidden iput alwaus give same probleme the browser block :( but using php it work perfectly there is any way how to do it ??

Days in xkey with date in Y-m-d format

Hi Olly,
pleas can you help me with this problem...
I get data with Google Analytics API Class and transform to this format..

data = [{"ga:date":"2012-01-01","ga:pageviews":"121","ga:visits":"21"},{"ga:date":"2012-01-02"... ... {"ga:date":"2012-01-31","ga:pageviews":"121","ga:visits":"221"}]

Morris Chart call

Morris.Line({
element: 'chart',
data: data,
xkey: 'ga:date',
ykeys: ['ga:pageviews','ga:visits']})

And in xkey ax is only year... i need show 31 days...
Pleas how do that?

Thank you!

YYYY-MM-DD date support

We can currently render data with dates expressed as YYYY, YYYY QQ and YYYY-MM.

It'd be great to get YYYY-MM-DD support too.

Donut chart rendered incorrectly when using double quotes

I have this JSON

[{"label":"Auxilio de NF-e","value":"1"},{"label":"Manuten\u00e7\u00e3o de ativos","value":"9"},{"label":"Auxilio de CT-e","value":"1"},{"label":"Ajuda a cliente interno","value":"2"}]

When I try to use it on donut chart, like this

<script>
Morris.Donut({
  element: 'donut',
  data: <%= @result_donut.to_json.to_s.html_safe %>
});
</script>

the output is rendered like this picture
Imgur

if I remove the double quotes on value, it works, but this data comes from a sql which I convert to JSON

Area charts

Would love to see some basic area charts not too dissimilar from Highcharts (http://www.highcharts.com/demo/area-basic) This is only acceptable provided it doesn't muddy the simplistic nature of the Morris api (as if I wanted something complicated, I'd be using Highcharts anyways :) )

Ability to set a ymin value

Hello - Quite impressed by your work and was wondering whether the following is in the works: The ability to explicitly and/or automatically set a minimum value for y. This would allow display of data is below zero, or display of data that is contained within a small y range that is much greater than zero.

Thanks - Rick

Issue with null data

I'm trying to create a chart with multiple series which may or may not have data on the different x axis values.
If I have a null value in the last Y series in the first position I get an 'Cannot read property 'y' of undefined.
If I have a null value in the last Y series in the last position I get the above error and 'Cannot read property 'length of undefined'.

Sample data used:
[{"period":"2012-03-15","y1":null,"y2":6250.0,"y3":7010.0},{"period":"2012-04-05","y1":234.60000000000002,"y2":null,"y3":null},{"period":"2012-04-10","y1":null,"y2":8596.0,"y3":null},{"period":"2012-04-18","y1":13459.6,"y2":null,"y3":null},{"period":"2012-04-19","y1":null,"y2":10546.0,"y3":null}]

Infinite loop when data indicates horizontal line

for data looks like this

var day_data = [
{"period": "2012-10-01", "licensed": 0, "sorned": 0},
{"period": "2012-09-30", "licensed": 0, "sorned": 0},
{"period": "2012-09-29", "licensed": 0, "sorned": 0},
{"period": "2012-09-20", "licensed": 0, "sorned": 0},
{"period": "2012-09-19", "licensed": 0, "sorned": 0},
{"period": "2012-09-18", "licensed": 0, "sorned": 0},
{"period": "2012-09-17", "licensed": 0, "sorned": 0},
{"period": "2012-09-16", "licensed": 0, "sorned": 0},
{"period": "2012-09-15", "licensed": 0, "sorned": 0},
{"period": "2012-09-10", "licensed": 0, "sorned": 0}
];

this.yInterval = 0

drawGrid mehtod will run into a infinite loop.

Allow display of zero values

I have a series of stats data that I want to graph over time. If I use JSON like this

[{"period":"2010-12-27","screenings":0},
 {"period":"2011-01-03","screenings":10},
 {"period":"2011-01-10","screenings":0}]

I get a horizontal line rather than a line that goes from zero to ten and then back down to zero. In the text display I get "n/a" as the values for these zero points.

If I change the zero values to 0.0001 the graph draws as expected.

Perhaps a setting for "ignore zeros"?

Usage documentation

Need something a bit more explanatory than an example.html!

Maybe a bit of docco?

Full screen support?

Is there a way to tell morris to resize the graph when entering/eaving full screen mode?

I thought I'd try something like this:

<div style="width:200px; height:150px;">
    <div style="width:100%; height: 100%; background: #fff" id="graph"></div>
</div>

Then I have a button to take the graph full screen:

<button onclick="$('#graph').fullScreen(true)">Show fullscreen</button>

When I run it, it goes to full screen the but graph doesn't resize.

Here is a url of it in action, but please note that the page may disappear at any time..

https://astrobiology-alpha.arc.nasa.gov/articles/

Works with 3 data points but breaks on 2

This works:

var DATA = [
        {y: '2011-04', a: 75, b: 50},
        {y: '2011-03', a: 75, b: 50},
        {y: '2011-02', a: 100, b: 75}];

$(function() {

// quarterly data, custom colors, skinny lines
Morris.Line({
  element: 'container',
  data: DATA,
  xkey: 'y',
  ykeys: ['a', 'b'],
  labels: CATEGORIES,
  //lineColors: ['#167f39','#044c29'],
  lineWidth: 2
});

This draws equally but when I hover over the graph I get an error::

var DATA = [
        // NOTICE how there's only 2 data points this time.
        {y: '2011-03', a: 75, b: 50},
        {y: '2011-02', a: 100, b: 75}];

$(function() {

// quarterly data, custom colors, skinny lines
Morris.Line({
  element: 'container',
  data: DATA,
  xkey: 'y',
  ykeys: ['a', 'b'],
  labels: CATEGORIES,
  //lineColors: ['#167f39','#044c29'],
  lineWidth: 2
});

The error is: z[b][a] is undefined

I'm going to try to find out what the error is in the not-compressed version.

add ability to show minus values

currently it cant show something like

{date: "2009" , money: -500},

properly

i cant even do something like this for weeks instead of year

{date: "2" , money: 400},
{date: "3" , money: 700},
{date: "4" , money: 900},

it makes an unusual graph

Graph wont draw if all values are 0 or null

If I attempt to draw a graph where all values are 0 morris.js dies. If I put a value of 1 in any of the values the graph is drawn so it is clearly related to all zero values.

To reproduce the error:

Morris.Line({
      element: 'averageGraph',
      parseTime: false,
      data: [{"y":"06:00","a":0},
      {"y":"07:00","a":0},
      {"y":"08:00","a":0},
      {"y":"09:00","a":0},
      {"y":"10:00","a":0}],
      xkey: 'y',
      ykeys: ["a"],
      labels: ["Test"]
    });

Improve x-axis labelling

Currently, Morris only labels the axis at year boundaries.

Needs smarter labelling for graphs that don't span multiple years.

charts by month

Is there to create charts by months on x-axis? So I have the date in format of 2010-02 or 02-2010.

x-axis date format

I customized date format with:

dateFormat: function (timestamp) {
    var date = new Date(timestamp);
    return date.getDate() + '. ' + date.getMonth() + '. ' + date.getFullYear() + '.';
}

I expected it to take effect on x-axis dates, but it did not. Here is the result.

Is this a bug or there is some hidden option?

Ability to add note(s) to data point(s) as option.note

I'm really enjoying getting my head around using this to look at machine tool diagnostic readings but would love to be able to include a note on wildly varying data points to be included in the hover text to explain 'outliers'

Percentage Y values

Hi is it possible to have a percentage as Y values, so that the '%' character is actually written on y axis as well as on the little hover popup?

Thanks

IE8 Modal issue

Hello,

I implemented this plugin successfully but i came up with an issue when using it in a modal window.
When used in a modal popup (i use ZURB Reveal Modal plugin - https://github.com/zurb/reveal) the graph does not appear in IE 8.

In Firefox it shows correctly. This issue happens in IE8 (i presume that in lower versions of IE too).

Does anyone have an answer to this ?

Thanks,
pcout

Format date

I have chosen xLabels: 'month'.

But how do I get names like Januar, Februar, Marts, April etc.. :)

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.