Zub zeb,

Does your DataTable have one column for each of your series?   Can you give
an example of what your data looks like, perhaps in the form of an array of
arrays that you could pass to arrayToDataTable?


On Wed, Jun 24, 2015 at 5:42 PM, zub zeb <[email protected]> wrote:

> I'm pretty sure I'm supposed to be using the series function for this, but
> whenever I try, I get only the first color of the series to display.   The
> way it's set up now is that it pulls hourly timestamped data from a mySQL
> database from one column and then displays the totals of another column for
> that 24 hour period. The user can then select the period they want to view
> data for in order to view a column chart that covers days, weeks, months,
> or even years of data at a time.  Chart looks great, but all the days are
> the same color, and I would like to be able to have the user identify which
> days are the weekends.
>
> Can anybody point me in the right direction for achieving this?  Like I
> said, I know I'm supposed to be using a series in order to achieve this,
> but haven't had much success.
>
> I figured something like this should be what I want but like I said, I
> only see the first color for ALL the columns:
>
> series: {
>             0: { color: '#99FF66' },
>             1: { color: '#99FF66' },
>             2: { color: '#f1ca3a' },
>             3: { color: '#6f9654' },
>             4: { color: '#1c91c0' },
>             5: { color: '#43459d' },
>             6: { color: '#e7711b' },
>  },
>
>
>
>  --
> 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.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 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 [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.

Reply via email to