Arjan Haverkamp

Results 40 comments of Arjan Haverkamp

Calling `chartInstance.update()` on a chart with `stacked100: { enable: true, replaceTooltipLabel: false }` enabled causes the chart to revert to a normal bar chart; it's no longer stacked.

This works better: ``` Caman.Filter.register('opacity', function(adjust) { adjust = Math.floor(255 * (adjust / 100)); var inputData = this.pixelData, length = inputData.length; // Adjust alpha channel (every 4th value): for (var...

It seems that the `revert` function is broken after this patch? I'm using caman.full.js from this patch. Calling `revert` results in a blank canvas. If I fetch caman.full.min.js from the...

@zaak It would be such a great christmas present... sharing caman.full.js with the fixes to keep resized image state properly with all of us. Please? Thanks Santa!

Thanks @zaak for this nice christmas gift ;-) Unfortunately, your caman.full.js (https://raw.githubusercontent.com/ckfinder/CamanJS/master/dist/caman.full.js) still has the same bug: `revert` does not work, it causes an empty canvas. I'll try to create...

As for the non-working `revert`: I finally figured it out, I was doing something wrong. I applied a filter like so: ``` Caman('#filterImg', function() { this.sepia(40); this.render(); }); ``` And...

@EmanH: Would you be so kind to share your solution? Thanks!

Which then results in the following vanilla Javascript: ``` Filter.register("sepia", function(adjust) { if (adjust == null) { adjust = 100; } adjust /= 100; var matrixR = [1 - 0.607...