MeetmeLeave / ng-canvas-gauges

Angular2 component wrapper for the canvas-gauges library written by @Mikhus(https://github.com/Mikhus/canvas-gauges).
MIT License
38 stars 23 forks source link

input options param not working #26

Open that-guy-fight opened 5 years ago

that-guy-fight commented 5 years ago

im working in angular 7 and have made a radial gauge and it seemed to work fine when i used html directives. however, when i try to pass those same properties as a json object in through the html input parameter, only some of them are working. i was wondering what the correct syntax is for creating an object to pass in the input parameter for the gauge? some of my properties work, such has height or title, but i am struggling with figuring out how to get the rest of them. for example, with plate color, the property syntax is: color-plate: "#C70039" which should be a red color but it doesnt do anything. if someone could provide some clarification on this i would appreciate it