Giter VIP home page Giter VIP logo

charts's Introduction

Charts

NPM License npm download GitHub top language GitHub issues npm version

Vue Charts Package

Usage

The charts can be used outside of the Enso ecosystem.

Demo

For live examples and demos, you may visit laravel-enso.com

Installation, Configuration & Usage

Be sure to check out the full documentation for this package available at docs.laravel-enso.com

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

ISC

charts's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

cgd-ui

charts's Issues

Negative numbers in chart data not rendered correctly

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

I tried to display negative values in bar chart. The output of values is correct but the bar is not rendered below zero.

image

In the example of chart.js (https://www.chartjs.org/samples/latest/charts/bar/vertical.html) negative values are rendered correctly.

image

Steps to Reproduce

  1. Change a value in ChartController:bar() to a value < 0
  2. Open dashboard and look at "Sales" bar chart

Expected behavior

Negative values should draw a bar below zero

Actual behavior

Negative values are rendered without bar

shortNumber filter is not applied for the legend values

This is a bug request.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

At this moment we can format the data illustrated in charts using the shortNumber filter, but it is not applied for the legend values.

Reproduction steps

Bind the formatter property to the enso-chart-card component: :formatter="$options.filters.shortNumber".

Actual behaviour

The problem is that this filter does not change the legend values as well.

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.