I'm still looking how to left align the labels which doesnt seem to be
straightforward either - the only way i've found to work around it is to
play with font sizes:
var options = {
tooltip: {isHtml: true},
timeline: {rowLabelStyle: {fontSize: 11},
barLabelStyle: {fontSize: 11} },
};
This works for 99% of my labels
On Monday, September 20, 2021 at 4:29:35 PM UTC+1 Jasmine Rajan wrote:
> Hi I'm facing the same problem too, Is there a way to add a tooltip to the
> row label ?
>
> On Friday, June 7, 2019 at 9:53:42 AM UTC-7 Ray Thomas wrote:
>
>> I don't think there is. The column is "dumb" in that everything, HTML,
>> escape codes, character codes and so on, are all treated as text, so
>> there's no way to control it.
>>
>> Requests to change this behavior have been made for years before this
>> thread was started, for example on GitHub -
>> https://github.com/google/google-visualization-issues/issues/690 but it
>> must have a very low priority.
>>
>> Until the behavior is changed it might be the best workaround is to do
>> what the original poster hinted at; use some sort of shortened text for the
>> row label and use the tooltip to hold the full text. The tooltips are fully
>> formattable and can contain hundreds of characters.
>>
>> Probably not the answer you're looking for and someone else might know a
>> lot more about formatting the row labels than I've been able to find.
>>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/d9883b74-3314-47c4-9964-74cee115ca64n%40googlegroups.com.