سؤال

Here's the sample code with my result jsfiddle preview!

My question is how could I make the maximum point manually instead of 500 in the radar's label.

It's just a table-SVG converter I am doing.

series_data
is a Array come from table each of sources <td>.

Normally I want a max point of datas is 100, but it always count me with 500, whats the matter?

Please help.

Thanks.

هل كانت مفيدة؟

المحلول

You need to add numeric values in the series.data arrays.

In your code change this line:

axes_datas.push($(this).text());

with:

axes_datas.push(parseFloat($(this).text()));

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top