Giter Club home page Giter Club logo

Comments (7)

fyyyyy avatar fyyyyy commented on August 16, 2024

+1

from react-d3-shape.

Elijen avatar Elijen commented on August 16, 2024

@fyyyyy @stevesuh Same issue here. Have you figured out how to fix this?

from react-d3-shape.

fyyyyy avatar fyyyyy commented on August 16, 2024

Dont use non-integer data for bar charts axis, e.g. date

from react-d3-shape.

allsportster023 avatar allsportster023 commented on August 16, 2024

Has there been any update to this? I see that I can get a time axis with Line Charts, but I cannot seem do it with a basic bar chart - I am getting the same error stated above. There do not seem to be any examples online to compare against. Any help would be appreciated.

from react-d3-shape.

servomac avatar servomac commented on August 16, 2024

Same problem here:

         <BarChart
              height={30}
              data={this.props.history.map(function(item) { 
                return {
                  responseTime: item.response_time,
                  date: item.executed_at,
                } 
              })}
              chartSeries={[{
                field: 'responseTime',
                name: 'Frequency',
              }]}
              x={(d) => d3.time.format.utc("%Y-%m-%dT%H:%M:%S.%LZ")} //2017-05-26T13:41:53.759145
              xScale='time'
            />

from react-d3-shape.

fyyyyy avatar fyyyyy commented on August 16, 2024

dont use date or other formats. only integer axis data seems to be supported

from react-d3-shape.

praveenuics avatar praveenuics commented on August 16, 2024

I stuck on same issue, is resolved by any chance?, if so please share, thank you.

from react-d3-shape.

Related Issues (13)

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.