Coder Social home page Coder Social logo

Comments (4)

AlexJerabek avatar AlexJerabek commented on August 10, 2024

It looks like setting the fill color of one point on the pie chart sets them all. Here's a demo of what I believe to be an office-js bug: https://gist.github.com/AlexJerabek/88584a1296c9bc0e33a9406cc32522ab

from office-js-snippets.

AlexJerabek avatar AlexJerabek commented on August 10, 2024

Checking with @Zlatkovsky that I'm interpreting the behavior of that snippet and method correctly. If so and this is a product bug, I'll transfer the issue to office-js.

from office-js-snippets.

Zlatkovsky avatar Zlatkovsky commented on August 10, 2024

The extra "}" should obviously be removed from the sample. It must have snuck in at some point, because the sample did compile back in the day.

Just looked through the history, looks like it was your commit from 4 months ago that introduced it: 991f2a3#diff-7b97a8604a8df2e7724bacdb83bd4272

image

... But for the bigger issue: yes, you are right, the Chart API seems to have a regression in the actual office-js code. Your snippet demonstrates it well. I suggest you file a separate bug on office-js using your snippet. It would be good to understand how automation didn't catch it, either.

from office-js-snippets.

AlexJerabek avatar AlexJerabek commented on August 10, 2024

Thanks @Zlatkovsky. The extra bracket was fixed as part of #312. I'll file the bigger Chart issue on office-js.

from office-js-snippets.

Related Issues (20)

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.