Hi
?Is there any solution for this problem

בתאריך יום שבת, 14 במאי 2016 בשעה 21:56:15 UTC+3, מאת WebFOCUS Guy:
>
> 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 [email protected].
To post to this group, send email to [email protected].
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/5625127d-12e8-4400-967d-196f2bac9e5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to