Re: [visualization-api] Index data points on zoom

2015-03-19 Thread mhjp
Yes, the pretty much it. Thanks, will definitely post the feature request. m

On Thursday, March 19, 2015 at 2:16:32 PM UTC-4, Daniel LaLiberte wrote:

 So you are looking at something like this: 
 https://www.google.com/finance?q=indexdjx:.dji,indexsp:.inx,indexnasdaq:.ixic
 What I see is that whenever there is more than one stock, it switches to 
 show percentage values on the vertical axis instead, and the chart always 
 shows all stocks starting from 0% at the left edge of the chart (or the 
 nearest data point anyway).  This 0% starting-point is reset for every 
 interaction that changes the view window, including clicking the zoom 
 buttons or adjusting the range selector.

 There is no rescaling of series values in this way in the AnnotationChart, 
 though I can see it would be a useful feature.  I don't see an easy way for 
 you to implement this on top of the current chart features either.  At 
 best, you would have to define a 'rangechange' event handler that rescales 
 the data for each range change, and I'm not sure it would do the right 
 thing even if you tried.

 We'll consider it for the future, however.   Feel free to post to 
 https://code.google.com/p/google-visualization-api-issues/issues/list so 
 other users can add their support for this feature request.


 On Thu, Mar 19, 2015 at 11:49 AM, mhjp mhpal...@gmail.com javascript: 
 wrote:

 I'm want to emulate the compare capability in the annotation charts in 
 Google Finance. When comparing two stocks, you need them to start from the 
 same basis point. Google Finance very nicely re-bases the data when you 
 zoom on a shorter time period. Is there any built in functionality to 
 easily implement this? Thanks!

 On Wednesday, March 18, 2015 at 1:26:22 PM UTC-4, Daniel LaLiberte wrote:

 Hi Mike,

 I don't know what you mean by indexing the series to 100.  If it 
 involves changing your data in any way, you would need to create your own 
 zoom buttons that change the data and redraw.  If you only want to change 
 how the same data is displayed when the zoom buttons are clicked, there is 
 an undocumented feature that lets you customize what the zoom buttons do, 
 in terms of the range of data they select.Here is a message about it: 
 https://groups.google.com/forum/#!searchin/google-
 visualization-api/zoombuttons/google-visualization-api/
 pzZoRUn5oLA/uF090YIdegIJ

 If you mean something else, please provide some more details, and I'll 
 be happy to try to help you.

 On Wed, Mar 18, 2015 at 12:22 PM, mhjp mhpal...@gmail.com wrote:

 I'm very nicely showing two stock price timeseries on an Annotation 
 chart. For comparison purposes, both series are indexed to 100 at the 
 initial start date. I'd like to turn on the zoom buttons. Is there a way 
 to 
 re-index to 100 at the start date of the zoomed on period?

 Thanks, mike

 --
 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-visua...@googlegroups.com.
 Visit this group at http://groups.google.com/
 group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2
   - 978-394-1058
 dlali...@google.com   5CC, Cambridge MA
 daniel.l...@gmail.com 9 Juniper Ridge Road, Acton MA
  
  -- 
 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 
 javascript:.
 To post to this group, send email to google-visua...@googlegroups.com 
 javascript:.
 Visit this group at 
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 
  - 978-394-1058
 dlali...@google.com javascript:   5CC, Cambridge MA
 daniel.l...@gmail.com javascript: 9 Juniper Ridge Road, Acton MA
  

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Background Color on Annotation Charts

2015-03-19 Thread mhjp
Perfect, thanks!

On Thursday, March 19, 2015 at 2:22:44 PM UTC-4, Daniel LaLiberte wrote:

 Oops, I copied that wrong.  Should be this:

 var options = {
   chart: {
 backgroundColor: 'white', // for the area outside the chartArea
 chartArea: {
   backgroundColor: '#F0F0F0'
 }
   }
 }

 On Thu, Mar 19, 2015 at 2:21 PM, Daniel LaLiberte dlali...@google.com 
 javascript: wrote:

 You'll want to use the undocumented 'chart' option, to specify options 
 that apply to the chart component of the AnnotationChart.  And within the 
 'chart' option, there you can provide the 'chartArea' option.

 var options = {
   backgroundColor: 'white', // for the area outside the chartArea
   chartArea: {
 backgroundColor: '#F0F0F0'
   }
 }


 On Thu, Mar 19, 2015 at 11:57 AM, mhjp mhpal...@gmail.com javascript: 
 wrote:

 I cannot figure out how to change the background color on Annotation 
 charts. Have tried:


 chartArea: {backgroundColor: {fill: '#F0F0F0'}}

 chartArea: {backgroundColor:'#F0F0F0'}

 Neither works.

 Thanks, Mike


  -- 
 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 
 javascript:.
 To post to this group, send email to google-visua...@googlegroups.com 
 javascript:.
 Visit this group at 
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 
  - 978-394-1058
 dlali...@google.com javascript:   5CC, Cambridge MA
 daniel.l...@gmail.com javascript: 9 Juniper Ridge Road, Acton MA
  



 -- 
 Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 
  - 978-394-1058
 dlali...@google.com javascript:   5CC, Cambridge MA
 daniel.l...@gmail.com javascript: 9 Juniper Ridge Road, Acton MA
  

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Changing the color of Motion Chart

2015-03-19 Thread Josh
Hello, 

I am new to the Google Charts platform and need a little help from someone 
who is more experienced. 

I have a motion chart configured as a Bubble Chart. I have data represented 
on the X and Y axis' as well as in the Size of the Bubble and Color of the 
line

My question is around the color of the line. 

The chart can be configured to change the color of the line based on 
supplied data. The data I supply is demand for a given product (Growing, 
Declining, Steady State). When that data is selected the chart will change 
the color of the line based on the change in demand over time. The chart 
automatically selects the colors Blue, Green and Yellow for these states. 

Is there a way to change those color options? Ive attached an image of what 
I am referring to. 

Thank you for any help you can provide. 

Josh

https://lh6.googleusercontent.com/-RfPGsjwoXSw/VQr_bJ6rmZI/Alw/e7Gtam_OAEY/s1600/2015-03-19_10-53-24.gif
 
https://lh6.googleusercontent.com/-RfPGsjwoXSw/VQr_bJ6rmZI/Alw/e7Gtam_OAEY/s1600/2015-03-19_10-53-24.gif

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Index data points on zoom

2015-03-19 Thread 'Daniel LaLiberte' via Google Visualization API
So you are looking at something like this:
https://www.google.com/finance?q=indexdjx:.dji,indexsp:.inx,indexnasdaq:.ixic
What I see is that whenever there is more than one stock, it switches to
show percentage values on the vertical axis instead, and the chart always
shows all stocks starting from 0% at the left edge of the chart (or the
nearest data point anyway).  This 0% starting-point is reset for every
interaction that changes the view window, including clicking the zoom
buttons or adjusting the range selector.

There is no rescaling of series values in this way in the AnnotationChart,
though I can see it would be a useful feature.  I don't see an easy way for
you to implement this on top of the current chart features either.  At
best, you would have to define a 'rangechange' event handler that rescales
the data for each range change, and I'm not sure it would do the right
thing even if you tried.

We'll consider it for the future, however.   Feel free to post to
https://code.google.com/p/google-visualization-api-issues/issues/list so
other users can add their support for this feature request.


On Thu, Mar 19, 2015 at 11:49 AM, mhjp mhpalmi...@gmail.com wrote:

 I'm want to emulate the compare capability in the annotation charts in
 Google Finance. When comparing two stocks, you need them to start from the
 same basis point. Google Finance very nicely re-bases the data when you
 zoom on a shorter time period. Is there any built in functionality to
 easily implement this? Thanks!

 On Wednesday, March 18, 2015 at 1:26:22 PM UTC-4, Daniel LaLiberte wrote:

 Hi Mike,

 I don't know what you mean by indexing the series to 100.  If it involves
 changing your data in any way, you would need to create your own zoom
 buttons that change the data and redraw.  If you only want to change how
 the same data is displayed when the zoom buttons are clicked, there is an
 undocumented feature that lets you customize what the zoom buttons do, in
 terms of the range of data they select.Here is a message about it:
 https://groups.google.com/forum/#!searchin/google-
 visualization-api/zoombuttons/google-visualization-api/
 pzZoRUn5oLA/uF090YIdegIJ

 If you mean something else, please provide some more details, and I'll be
 happy to try to help you.

 On Wed, Mar 18, 2015 at 12:22 PM, mhjp mhpal...@gmail.com wrote:

 I'm very nicely showing two stock price timeseries on an Annotation
 chart. For comparison purposes, both series are indexed to 100 at the
 initial start date. I'd like to turn on the zoom buttons. Is there a way to
 re-index to 100 at the start date of the zoomed on period?

 Thanks, mike

 --
 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-visua...@googlegroups.com.
 Visit this group at http://groups.google.com/
 group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




 --
 Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2
  - 978-394-1058
 dlali...@google.com   5CC, Cambridge MA
 daniel.l...@gmail.com 9 Juniper Ridge Road, Acton MA

  --
 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
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




-- 
Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2  -
978-394-1058
dlalibe...@google.com dlalibe...@google.com   5CC, Cambridge MA
daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge
Road, Acton MA

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Background Color on Annotation Charts

2015-03-19 Thread 'Daniel LaLiberte' via Google Visualization API
Oops, I copied that wrong.  Should be this:

var options = {
  chart: {
backgroundColor: 'white', // for the area outside the chartArea
chartArea: {
  backgroundColor: '#F0F0F0'
}
  }
}

On Thu, Mar 19, 2015 at 2:21 PM, Daniel LaLiberte dlalibe...@google.com
wrote:

 You'll want to use the undocumented 'chart' option, to specify options
 that apply to the chart component of the AnnotationChart.  And within the
 'chart' option, there you can provide the 'chartArea' option.

 var options = {
   backgroundColor: 'white', // for the area outside the chartArea
   chartArea: {
 backgroundColor: '#F0F0F0'
   }
 }


 On Thu, Mar 19, 2015 at 11:57 AM, mhjp mhpalmi...@gmail.com wrote:

 I cannot figure out how to change the background color on Annotation
 charts. Have tried:


 chartArea: {backgroundColor: {fill: '#F0F0F0'}}

 chartArea: {backgroundColor:'#F0F0F0'}

 Neither works.

 Thanks, Mike


  --
 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
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




 --
 Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2
  - 978-394-1058
 dlalibe...@google.com dlalibe...@google.com   5CC, Cambridge MA
 daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge
 Road, Acton MA




-- 
Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2  -
978-394-1058
dlalibe...@google.com dlalibe...@google.com   5CC, Cambridge MA
daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge
Road, Acton MA

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Background Color on Annotation Charts

2015-03-19 Thread 'Daniel LaLiberte' via Google Visualization API
You'll want to use the undocumented 'chart' option, to specify options that
apply to the chart component of the AnnotationChart.  And within the
'chart' option, there you can provide the 'chartArea' option.

var options = {
  backgroundColor: 'white', // for the area outside the chartArea
  chartArea: {
backgroundColor: '#F0F0F0'
  }
}


On Thu, Mar 19, 2015 at 11:57 AM, mhjp mhpalmi...@gmail.com wrote:

 I cannot figure out how to change the background color on Annotation
 charts. Have tried:


 chartArea: {backgroundColor: {fill: '#F0F0F0'}}

 chartArea: {backgroundColor:'#F0F0F0'}

 Neither works.

 Thanks, Mike


  --
 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
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




-- 
Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2  -
978-394-1058
dlalibe...@google.com dlalibe...@google.com   5CC, Cambridge MA
daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge
Road, Acton MA

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Google charts going out of Business

2015-03-19 Thread Taylor Tollison
I heard a rumor that this service is going out of business.  I heard that 
google is going to shut it down.  Is this true?

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Google charts going out of Business

2015-03-19 Thread 'Jon Orwant' via Google Visualization API
It is not true. I'd love to know where you heard this rumor so I can
correct it at the source.

Jon

On Thu, Mar 19, 2015 at 10:30 AM, Taylor Tollison taylorltolli...@gmail.com
 wrote:

 I heard a rumor that this service is going out of business.  I heard that
 google is going to shut it down.  Is this true?

 --
 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
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Background Color on Annotation Charts

2015-03-19 Thread mhjp
I cannot figure out how to change the background color on Annotation 
charts. Have tried:


chartArea: {backgroundColor: {fill: '#F0F0F0'}}

chartArea: {backgroundColor:'#F0F0F0'}

Neither works.

Thanks, Mike


-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Index data points on zoom

2015-03-19 Thread mhjp
I'm want to emulate the compare capability in the annotation charts in 
Google Finance. When comparing two stocks, you need them to start from the 
same basis point. Google Finance very nicely re-bases the data when you 
zoom on a shorter time period. Is there any built in functionality to 
easily implement this? Thanks!

On Wednesday, March 18, 2015 at 1:26:22 PM UTC-4, Daniel LaLiberte wrote:

 Hi Mike,

 I don't know what you mean by indexing the series to 100.  If it involves 
 changing your data in any way, you would need to create your own zoom 
 buttons that change the data and redraw.  If you only want to change how 
 the same data is displayed when the zoom buttons are clicked, there is an 
 undocumented feature that lets you customize what the zoom buttons do, in 
 terms of the range of data they select.Here is a message about it: 
 https://groups.google.com/forum/#!searchin/google-visualization-api/zoombuttons/google-visualization-api/pzZoRUn5oLA/uF090YIdegIJ

 If you mean something else, please provide some more details, and I'll be 
 happy to try to help you.

 On Wed, Mar 18, 2015 at 12:22 PM, mhjp mhpal...@gmail.com javascript: 
 wrote:

 I'm very nicely showing two stock price timeseries on an Annotation 
 chart. For comparison purposes, both series are indexed to 100 at the 
 initial start date. I'd like to turn on the zoom buttons. Is there a way to 
 re-index to 100 at the start date of the zoomed on period?

 Thanks, mike

 --
 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 
 javascript:.
 To post to this group, send email to google-visua...@googlegroups.com 
 javascript:.
 Visit this group at 
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2 
  - 978-394-1058
 dlali...@google.com javascript:   5CC, Cambridge MA
 daniel.l...@gmail.com javascript: 9 Juniper Ridge Road, Acton MA
  

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.