Giter Site home page Giter Site logo

Comments (2)

FERNman avatar FERNman commented on May 14, 2024

Hi @snaik2064

I've just tried out your example. Are you sure the defaultColor property works the way you expect it to?

For me, the following configuration does everything I want it to:

<google-chart
  width="600"
  title="Geo Chart"
  type="GeoChart"
  [data]="[
    ['US-NY', 100],
    ['US-OR', 200],
    ['US-PA', 300], 
    ['US-TX', 400],
    ['US-UT', 500] 
  ]"
  [columnNames]="['State', 'Sales']"
  [options]="{
    region: 'US',
    resolution: 'provinces',
    colorAxis: {colors: ['#e7711c', '#4374e0']}
  }">
</google-chart>

Anyways, it's definitely not this library making those errors you're seeing. Either it's a bug in the Google Charts library or it's a user error.

Hope this helps,
FERNman

from angular-google-charts.

snaik2064 avatar snaik2064 commented on May 14, 2024

Thanks it worked.

from angular-google-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.