Coder Social home page Coder Social logo

Comments (4)

ArneTR avatar ArneTR commented on July 23, 2024 1

I would not suggest to use the unique IDs to addess the containers, but rather go through a structural approach of the HTML DOM, they are all siblings.

from green-metrics-tool.

djesic avatar djesic commented on July 23, 2024

I time boxed for an investigation and here is what I managed to learn:
The buttons available on each chart (zoom, zoom reset, restore) are not directly seen when inspecting the page source.
They are available and defined in ApexCharts (https://apexcharts.com/docs/options/chart/toolbar/#customIcons)

Would a solution be to write custom button functions to: collapse the current chart, expand to full width, move one left, move to first, move one right, move to last?
Each chart belongs to classes 'card statistics-chart-card ui' and have unique IDs, can we used this information to manipulate them?

from green-metrics-tool.

ArneTR avatar ArneTR commented on July 23, 2024

This is what I meant, please make new button in the HTML container where the chart resides in.

from green-metrics-tool.

djesic avatar djesic commented on July 23, 2024

This is what I meant, please make new button in the HTML container where the chart resides in.

Ok, so to be sure I understood correctly, new buttons in red rectangle, not additional buttons in blue rectangle?
image

from green-metrics-tool.

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.