frappe/charts

Chart [min, max] does not optimise for values

Open

#100 aperta il 15 dic 2017

Vedi su GitHub
 (3 commenti) (3 reazioni) (0 assegnatari)JavaScript (769 fork)batch import
enhancementhacktoberfest

Metriche repository

Star
 (14.858 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Expected Behaviour

Chart min and max values should optimise for data values. This was also initially reported in https://github.com/frappe/charts/issues/57 and fixed after that.

Actual Behaviour

There is a bunch of space above and below the line (see image)

Steps to Reproduce:

Data values are from 13.45 to 14.52 Code is here: http://jsbin.com/wodujuk/1/edit?js,output

screen shot 2017-12-15 at 12 18 15 pm

Frappé Charts version: https://unpkg.com/frappe-charts@0.0.8/dist/frappe-charts.min.iife.js

Guida contributor