Date: Thu, 28 Mar 2024 10:27:19 +0100 (CET) Message-ID: <1483919165.300.1711618039081@apps-confluence-5.apps-confluence.apps.svc.cluster.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_299_1180553982.1711618039081" ------=_Part_299_1180553982.1711618039081 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
//helper funct= ion function formatTooltipAsHours(value) { =09return value.toFixed(2) + ' h'; } var columns =3D []; if (chartData.columns && chartData.columns.length){ =09columns.push(chartData.columns[0]); } //generate the basic properties for generating the chart var c3arg =3D { onrendered: updateFrameHeight, =09data: { =09=09columns: columns, =09=09type: chartData.type, =09=09colors: chartData.colors, =09=09empty: chartData.empty =09} }; // on hover over the gauge, display the time in hours if (chartData.custom && chartData.custom.tooltip) { =09var tooltipFunction =3D eval(chartData.custom.tooltip); =09c3arg.tooltip =3D { =09=09format: { =09=09=09value: tooltipFunction =09=09} =09}; } //set the maximum value on the gounge, in our case, total number of hours if ( chartData.custom && chartData.custom.gauge_max) { =09c3arg.gauge =3D { =09=09max: parseFloat(chartData.custom.gauge_max) =09}; } c3.generate(c3arg);
If you still have questions, feel = free to refer to our support team.