Home forums Using CanvasJS Tooltip is not working correctly Reply To: Tooltip is not working correctly

#17271

sumit1191
Member

The Whole UI Code…
<div ui-jq=”plot” data-ng-if=”rbjc.showGraph” ui-options=”
[
{ label: ‘ Actual’, data: {{rbjc.GraphTotalRevenue}} },
{ label: ‘ Goal’, data: {{rbjc.GraphTotalRevenueGoal}} },
],
{
bars: { show: true, fill: true, lineWidth: 1, order: 1, fillColor: { colors: [{ opacity: 0.5 }, { opacity: 0.9}] } },
colors: [‘{{rbjc.color.actual}}’, ‘{{rbjc.color.goal}}’],
series: { shadowSize: 1 },
xaxis:{ font: { color: ‘#000’ }, position: ‘bottom’, ticks: {{rbjc.GraphTicks}}, tickOptions: { angle: 30 } },
yaxis:{ font: { color: ‘#333’ }, min: 0 },
grid: { hoverable: true, clickable: true, borderWidth: 0, color: ‘#ccc’ },
tooltip: true,
}

data-ui-refresh=”rbjc.GraphTotalRevenue” style=”height: 400px”>
</div>