C3.JS - Need to have separated tooltips for a single stacked bar
$10-30 USD
Zrušeno
Zveřejněno skoro před 6 roky
$10-30 USD
Zaplaceno při doručení
The following code shows "one stacked bar" with "one tooltip for all" no matter which of the 3 bars the mouse is over. (see image). Is there a way to build a tooltip for each data group? (in this case I should have 3). If yes what is the code to do it?
var chart = [login to view URL]({
padding: {
left: 50,
right: 50,
},
bindto: '#myGraph',
data: {
columns: [
['data1', 100],
['data2', 10],
['data3', 50],
],
colors: {
data1: '#00ff00',
data2: '#ff0000',
data3: '#00ff00',
},
type: 'bar',
groups: [
['data1', 'data2', 'data3']
],
order: false,
},
axis: {
rotated: true,
x: {
show: false,
},
y: {
show: false,
}
},
zoom: {
enabled: true
},
legend: {
show: false,
}
});
Hi,
I am interested in your Job. In my opinion, if you want to add a ToolTip to an item, rather than a group, we recommend that you do the following:
tooltip: { grouped: false }
If not, I will think again.
Even if my freelancer time is lower than you entered time, but I am sure we can do your job with the highest quality.
We're always ready to start immediately.
I sincerely hope that working with you.