I have this same problem. did anyone find a solution?

W dniu wtorek, 15 stycznia 2019 21:01:38 UTC+1 użytkownik Tammy Osborn 
napisał:
>
> I am facing the same issue. Really need this feature.
>
> On Saturday, May 14, 2016 at 11:56:15 AM UTC-7, WebFOCUS Guy wrote:
>>
>> Questions regarding the row label text:
>>
>>
>>    1. How can I control the width of a row label in a Timeline chart?  
>>    2. How can I wrap the text?
>>    3. How can I insert line breaks?
>>    
>>
>> In the image below you see the API cuts off the row label, and inserts an 
>> '...', for a very long label.  The tool tip is able to display the label 
>> without the cutoff.    
>>
>> I do not want the 'auto' cutoff feature, as my requirement is to show the 
>> entire label.  
>>
>>
>> <https://lh3.googleusercontent.com/-ZekZgvM9Mz0/VzdzUBQbZSI/AAAAAAAAAAM/VJpqbL1WPdUAiGf2YQZpRkYsvIUBwFMKwCLcB/s1600/5-14-2016%2B1-29-15%2BPM.png>
>>
>>
>>
>>
>>
>>
>> Here is the code:
>>
>> <html>
>> <head>
>>     <title></title>
>>     <script type="text/javascript" src="
>> https://www.gstatic.com/charts/loader.js";></script>
>>     <script type="text/javascript">
>>         google.charts.load('current', { 'packages': ['timeline'] });
>>         google.charts.setOnLoadCallback(drawChart);
>>         function drawChart() {
>>             var container = document.getElementById('timeline');
>>             var chart = new google.visualization.Timeline(container);
>>             var dataTable = new google.visualization.DataTable();
>>
>>             dataTable.addColumn({ type: 'string', id: 'Key' });
>>             dataTable.addColumn({ type: 'date', id: 'Start' });
>>             dataTable.addColumn({ type: 'date', id: 'End' });
>>
>>             dataTable.addRows([
>>                                ['A very very very very very very very 
>> very very very very long row label', new Date(2003, 2, 4), new Date(2016, 
>> 04, 30)]
>>                               ]);
>>             chart.draw(dataTable);
>>         }
>>     </script>
>> </head>
>> <body>
>>     <div id="timeline" style="height: 580px;"></div>
>> </body>
>> </html>
>>
>>
>> Any assistance very much appreciated.  
>>
>>
>>

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/1f746ad7-02ca-4dd4-bb71-644635a9aed3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to