latticejs / lattice

Framework integration
17 stars 5 forks source link

New component: gauge component #257

Open dpaez opened 5 years ago

dpaez commented 5 years ago

It would be desired to have a proper gauge component with material style and a simple and extensible API.

some references:

Rahulgarg30591 commented 5 years ago

Hello @dpaez, good finds for the initial radial gauges.

dpaez commented 5 years ago

After today's sync-up meeting @Rahulgarg30591 suggested canvas-gauges.com as the core library for the new gauge component. I give it a look and I consider that we can give it a try, but we have to have in mind that we can be losing flexibility according to the current approach, which is using d3 as the core lib, this way every part of the gauge can be a react component and thus configurable by the user (render props).

So, my proposal here is to try canvas-gauge and let's see if @Rahulgarg30591 can create a simple gauge similar to the current one in this PR, next explore extensibility options of canvas-gauge.

After that, we can compare solutions. 👍