You can't change the placement of the annotation except to place it at a different data point. Are you using a discrete (string-based) or continuous (number, date, datetime, timeofday based) domain axis?
On Monday, October 6, 2014 11:27:26 AM UTC-4, John Hughes wrote: > > Andrew, > > Thanks the annotation allowed me to add the labels to both ends. > > But the label runs past the end of the chart ends up on top of the number > on the left and the legend on the right. Any ideas on how to make them > appear fully on the chart. I have tried the textStyle but no luck > > John > > On Monday, October 6, 2014 8:56:57 AM UTC-4, Andrew Gallant wrote: > >> Add an "annotation" role column to your data set (which will be attached >> to whatever series of data immediately precedes it in the DataTable). This >> is a string type column that contains labels to add to data points. Use >> null values for all points that you do not want to have labels. If you >> post your chart code and some sample data, I can show you how to add this. >> >> On Saturday, October 4, 2014 7:46:16 PM UTC-4, John Hughes wrote: >>> >>> The series suggestion worked perfectly, thanks. >>> >>> Technically I want to label the first and last points on one of the >>> traces. Something along the lines of data[0].label = "start" and >>> data[len-1].label = "end". I don't want the labels on the middle points. >>> >>> Attached is the chart I am trying to emulate. I drew the 1 & 2 where >>> the "TX Site 3" & "RX Site 3" labels are. As you can see all four data >>> traces start and end at the same point so I can use any trace just need the >>> two labels. >>> >> -- 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 http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
