Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1495
Numeric X-Axis column chart
posted

Hi,

I have a requirement to draw a Column chart having Numeric x and y axis. Given below is sample snapshot:

I have gone through the samples and forums but no luck. I tried many things with code but only numeric Y-axis is possible and x-axis always remain Text.

Any help please?

-------------------------------------------

Hi Mike,

I am not able to post reply... So, trying to edit my question:

Thanks for quick response. x axis values in my case might not always be unique but still I am interested in having a working sample or reference of using category axis and having labels be the numbers. Can you please guide me further?

A working sample can help me a great deal.

Thanks in anticipation.

Parents
  • 12480
    Offline posted

    Hi Eric,

    Our ColumnChart can use a NumericYAxis or PercentChangeYAxis with a CategoryXAxis, TimeXAxis, or OrdinalTimeXAxis. You can read more about our Series Requirements in our documentation.

    That being said, you can probably still get this UI depending on your requirement. What does the X position of your columns represent? If there will only be one column for a unique X value, you can use a Category axis and have the labels be the numbers. If the X values aren't unique or have varying distances between them, a column chart may not be the most accurate representation of the data and it may be better to user a scatter plot instead of a column chart.

    Please let me know if you have any questions.

Reply Children