Andrew,
Thanks for the suggestions. The first one works but does not look very
good. At about 0.50 the words start to get into the correct location but
then the lines are so far from the edge it starts looking bad.
I will see what I can do about implementing the second options.
On Thu, Oct 9,
I believe the answer is continuous but I maybe incorrect. Below is my
latest code, no data. The data from a JSON request but maybe you can get
an idea of what I am doing.
drawChart(id: number, name: string, isMetric: boolean = false): void {
use strict;
/// Get data from
Yes, your data should be continuous. The easiest way to handle this would
be to create some offset space to the left and right of your data by
setting the hAxis.viewWindow.min and hAxis.viewWindow.max options to values
below and above the min and max of your x values (respectively):
var
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
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
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
Do you want to have axis labels at the end points, or do you want to label
the data points themselves?
For the area fills, set the series.series indec.areaOpacity option to 0
for all series that you want to remove the shading on. So, if the first,
second, and third data series should not have
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