Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Polar Area Chart - Lowest value is not displayed / Label

Open leo-ay opened this issue 13 years ago • 7 comments

  1. The lowest value on chart is not displayed.
  • When there are values 100, 8 like the docs, it works fine.
  • When it has values {10,9,8,7,6}, the lowest is not displayed.

I tryed this solution #118 and it didn't work.

It looks like the lowest value has to be lower than 10% of the highest value, so it works.

  1. Is there a way to add label to Polar Chart?

leo-ay avatar Aug 20 '13 00:08 leo-ay

Can you provide an example of the problem?

SamClarke2012 avatar Aug 28 '13 05:08 SamClarke2012

Hello I have the same issue, I use the values like:

{ //graphic value: 90, color:"#2D2E32" }, { //javascript value : 60, color : "#A3311D" }, { //web value : 99, color : "#808183" }, { //UI value : 50, color : "#99A118" }, { //html value : 100, color : "#D4CCC5" }, { //UX value : 30, color : "#99A118" }, { //css value : 98, color : "#295266" }

But the element //UX 30 doesn't render. I overwrite some options:

{ scaleOverlay : false, scaleShowLine: false, scaleShowLabels: false, segmentStrokeWidth : 1 },

Do you know about the issue?

grimaldodev avatar Sep 24 '13 04:09 grimaldodev

Examples:

I just change de values in the example Polar Area Chart Sample (polarArea.html)

var chartData = [
    {value : 10},
    {value : 9},
    {value : 8},
    {value : 7},
    {value : 6},
    {value : 5}
];
  1. The graphic for the last value (5) is not displayed on chart.
var chartData = [
    {value : 60},
    {value : 50},
    {value : 40},
    {value : 10},
    {value : 20},
    {value : 30}
];
  1. The graphic for the forth value (10) is not displayed.
var chartData = [
    {value : 60},
    {value : 30},
    {value : 20},
    {value : 10},
    {value : 20},
    {value : 10}
];
  1. The graphics for the forth and last value (10) are not displayed.
var chartData = [
    {value : 60},
    {value : 50},
    {value : 40},
    {value : 30},
    {value : 20},
    {value : 9}
];
  1. Works fine!
var chartData = [
    {value : 100},
    {value : 50},
    {value : 40},
    {value : 30},
    {value : 21},
    {value : 20}
];
  1. The graphics for the last two value (21,20) are not displayed, but
var chartData = [
    {value : 100},
    {value : 50},
    {value : 40},
    {value : 30},
    {value : 20},
    {value : 19}
];
  1. Works fine!

I thinks it is not about the 10% anymore, but I have no clue!

leo-ay avatar Oct 04 '13 01:10 leo-ay

I'm experiencing the same problem. To make it simple, I reproduces the error with the default options and this data:

var data = [ { value : 30 }, { value : 25 } ];

bertuz avatar Nov 03 '13 20:11 bertuz

I am also facing same problem . did any one solved this issue ?

anilmaurya avatar Dec 05 '13 06:12 anilmaurya

I am not able to reproduce this problem using the new version release candidate.

Could you please check if this has been fixed and close or create a JSBin showing the issue.

Thank you

fulldecent avatar Sep 15 '14 17:09 fulldecent

This appears to be fixed in the latest version. Please reopen if this can be confirmed broken in the latest version and a test case can be added.

fulldecent avatar Jan 19 '15 00:01 fulldecent