The gstatic loader is our own creation, used only with Google Charts, so we
can change things if need be.

I understand what you mean about the css loaded by Google Charts overriding
your previous override of the Google Closure css.  However, I hope that
what I am suggesting still applies.  You'll have to make your overrides be
more specific to your context than what Google Charts specifies in its
css.  The more specific rules should win.  Something like this:

  <body class="mypage">
    <div id="chart"></div>
    <div id="some_google_closure_thing">...</div>
  </body>

Then your css rules can be like this:

  .mypage .goog-closure-thing {
    /* my styles should override */
  }



On Wed, May 11, 2016 at 9:01 AM, Jack Lin <[email protected]> wrote:

> Hi,
>
> The nocss flag I was referring to can be found on
> https://developers.google.com/loader/#introduction-to-loading-google-apis.
> After reviewing the page again, looks like it is not supported for
> visualization package. I apologize for misleading comment.
>
> Secondly, not sure if I get what you mean. But my goal is not overriding
> the CSS related to geochart. The problem is that I am using Google Closure
> to build my UI and it includes some goog CSS. I override it using my own
> CSS file to change its look. But with gstaic loader it loads back Util.css
> and overrides my override so it goes back to default looks thus I was
> wondering if I can simply not load Util.css from gstatic loader.
>
> I now think this is probably nothing to do with visualization package and
> is more related to gstatic loader...
>
> Thanks,
> Jack
>
>> --
> 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/7632f0b3-fc01-4e50-9b5e-f88de8801783%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/7632f0b3-fc01-4e50-9b5e-f88de8801783%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge 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 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/CAOtcSJNK%2BK12enJ-%3D82mziXkiEOWxpFh8gDLeTjzyh59%2BkZ6dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to