You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, and thank you for this awesome work! I would like to know about the possibility of using data for every row other than the values itself. For instance, when the source is a CSV, I'd like to get all the dict of the single row and use the data of other columns in places like the tooltip or the subdomain text...
Is there a way to achieve this? Thank you in advance.
The text was updated successfully, but these errors were encountered:
Is it possible to get the "location" value in the tooltip and or in the subdomain label?
Let me show you an example with code...
constcal=newCalHeatmap();cal.paint({data: {source: 'my.csv',type: 'csv',x: 'date',y: d=>+d['distance'],//the y value is for the distancegroupY: 'max',},date: {start: newDate('2024-01-01')},subDomain: {type: 'day',radius: 2,label: (t,v)=>{returnv['location']}//<= this not works, but i'd like to achieve something like this, where v is the dict of the entire row not only the y value...},itemSelector: '#ex-year',},
I have looked in the docs and I found nothing, I was wondering if there could be some workarounds...
Hello, and thank you for this awesome work! I would like to know about the possibility of using data for every row other than the values itself. For instance, when the source is a CSV, I'd like to get all the dict of the single row and use the data of other columns in places like the tooltip or the subdomain text...
Is there a way to achieve this? Thank you in advance.
The text was updated successfully, but these errors were encountered: