GithubHelp home page GithubHelp logo

Comments (6)

uiteoi avatar uiteoi commented on July 21, 2024

I have not succeeded in reproducing the issue using this code (using your dataset), testing on Chrome:

      var series = [
        [20,40,60,null,80,100,20,null,130],
        [15,100,150,100,120,null,160,200,100],
        [null,30,20,60,100,100,120,70,50]
      ];

      var g18 = new Ico.LineGraph( "graph18",
        series,
        {   min: min, max: max
          , font_size: 12
          , labels: labels
          , series_names: ['This Year', 'Last Year', 'Intermitent']
          , value_labels: { add_padding: false }
          , units: '$', units_position: 0
          , x_padding_right: 15
          , colors: ['#228899', '#339933', 'grey']
          , mouseover_attributes: { stroke: 'green' }
          , curve_amount: 10
          , mouse_pointer: true
          , status_bar : status_bar
          , grid: true
        }
      );

Please provvide a sample of you code showing the problem plus indicate under which browser.

from ico.

Kirkman avatar Kirkman commented on July 21, 2024

Here's an example page: http://joshrenaud.com/pd/qb-compare/qb-ico-tests.html

I see the issue in all browsers I've tried: Chrome, Firefox, IE8.

from ico.

uiteoi avatar uiteoi commented on July 21, 2024

Thanks, I can see the problem. There is an error. Now trying to understand why and where precisely.

There is another problem with the two first lines: they display but there is no interruption at missing points.

from ico.

uiteoi avatar uiteoi commented on July 21, 2024

The bug happens only when option curve_amount is set to zero for which I did not have a test case. I am now working on the fix.

A workaround is to set curve_amount to 1.

from ico.

uiteoi avatar uiteoi commented on July 21, 2024

Thanks again Kirkman for spotting this issue. It is now fixed. Please verify.

from ico.

Kirkman avatar Kirkman commented on July 21, 2024

Verified.

from ico.

Related Issues (6)

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.