WordPress.org

Forums

WordPress Charts
[resolved] Radar chart issue (5 posts)

  1. lucky_sevenf
    Member
    Posted 1 year ago #

    Great plugin!

    I am using the following shortcode:
    [wp_charts title="radarchart" type="radar" align="center" margin="5px 20px" width="auto" datasets="40, 30, 30, 40, 20, 20, 30, 40 next 40, 30, 30, 40, 20, 20, 30, 40" labels="Fragrance 원두 향기, Aroma 차 향기, Acidity 신맛, Bitter 쓴맛, Sweet 단맛, Body 무게감, Balance 조화, After Taste 남는맛" colors="#CEBC17"]

    to generate the following radar chart:
    http://cl.ly/image/0c0X1o1q340D

    If you take a closer look, Aroma and Acidity numbers are 30 but they look like 20 in the chart to me. And then Body number is 20 but it looks as it's on 0 and Balance number is 30 but it looks as it's on 20. Why is this? What am I doing wrong here?

    Any help would be greatly appreciated.

    https://wordpress.org/plugins/wp-charts/

  2. Paul van Zyl
    Member
    Plugin Author

    Posted 1 year ago #

    That is a little odd, I'll test and have to get back to you when i can.

    Thanks for the great feedback.

    Kind Regards

    Paul

  3. Paul van Zyl
    Member
    Plugin Author

    Posted 1 year ago #

    This seems to be the way the chart library renders that data. I'm sorry I can't be more help at this time.

    Kind Regards

    Paul.

  4. Michael Davis
    Member
    Posted 1 year ago #

    Is this what the ChartJS param scaleBeginAtZero="true" is meant for?

    I tried it within the shortcode and no luck, but not sure if the WP plugin accepts all params of ChartJS or not.

  5. Michael Davis
    Member
    Posted 1 year ago #

    Actually solved my problem, which looks similar to OPs problem with these params...

    scaleOverride="true"
    scaleSteps="10"
    scaleStepWidth="1"
    scalestartvalue="0"

    This chart shows the results of several scale inputs (1-10) so I wanted 10 lines with the center most part being 0, so no points will ever start there and the above params did just that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Charts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags