Skip to content
Commits on Source (2)
{
"name": "i4-js-commons",
"version": "3.9.11",
"version": "3.9.12",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "i4-js-commons",
"version": "3.9.11",
"version": "3.9.12",
"description": "Just a load of common stuff for i4 front-ends and some probably usable in back-end as well",
"dependencies": {
"@material-ui/core": "^4.8.0",
......
......@@ -46,6 +46,13 @@ const chartColors = [
const defaultCanvasStyle = { width: 300, height: 300 };
const commonOptions = {
animation: { duration: 200 },
// animation: {
// duration: 0, // general animation time
// },
hover: {
animationDuration: 0, // duration of animations when hovering an item
},
responsiveAnimationDuration: 0, // animation duration after a resize
legend: {
labels: {
boxWidth: 6,
......
......@@ -21,7 +21,7 @@ export const withSubs = ({
channels,
transform,
init,
ttl = 84600,
ttl = 60,
...rest
}) => {
// settings: { myKey: { init: x, rid:'<aRid>'} }
......