frappe/charts

Chart [min, max] does not optimise for values

Open

#100 创建于 2017年12月15日

在 GitHub 查看
 (3 评论) (3 反应) (0 负责人)JavaScript (769 fork)batch import
enhancementhacktoberfest

仓库指标

Star
 (14,858 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南