Category "canvas"

How to change axis font in PrimeFaces and Chart.js

I am using PrimeFaces 7, and I am trying to use barchart from Chart.js as follows: Code: <p:barChart widgetVar="cfg" model="#{dashboardBean.barModel}" styl

How to convert a canvas to a png file?

I want to convert a canvas to a png file and save it in order to do comparison tests with Cypress. The problem is that the file I create is empty. cy.get('#imgc

IllegalArgumentException: width and height must be > 0 while loading Bitmap from View

I'm trying to draw on an ImageViewTouch, a library which enables pinch zooming. I'm able to draw over the image using Canvas, but when I zoom the image, the dra