We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

X-Axis Point Markers not appearing on strings - Bug

Thread ID:





112444 Sep 24,2013 01:55 AM UTC Oct 3,2013 05:35 AM UTC JavaScript 4
Tags: ejChart
Asked On September 24, 2013 01:55 AM UTC

It seems like the markers on the x-axis ( or the vertical lines )
that specify each point, only appear if the x-axis labels are integers.
They don't seem to appear on string labels.

Check these 2 examples

In the 2nd example, the marker appears in between the weeks, but
not on them. This is fine here, but in some cases, I use really big names,
and it is not comfortable to not know where the point actually lies.
Can you tell me a workaround for this?

Replied On September 24, 2013 02:20 AM UTC

Without this,the major grid lines don't appear on the actual points,
but only in between the points.


   title: { text: groupValue.toUpperCase(), font: { fontFamily: 'Oswald', size: '17px' }},
   majorGridLines: { visible: true, color: "rgb(37,37,37)" }

Gowrimathi S [Syncfusion]
Replied On September 24, 2013 11:27 AM UTC

Hi Pradeep

Thanks for using Syncfusion product.

Please find the response for the query.

By default, the chart render the ticks and gridlines between the points for string value type axis. So, we suggest  you to use “labelPlacement” property of axis to achieve this behavior as follow



                     //default value is labelPlacement: “betweenTicks”

                    labelPlacement: 'onTicks',


Based on the query we have created a simple sample and find the sample from the attachment.


Gowrimathi S


Replied On September 25, 2013 01:22 AM UTC

thanks, that worked :)

Gowrimathi S [Syncfusion]
Replied On October 3, 2013 05:35 AM UTC

Thanks for the update, please let me know if you have any further assistance

Gowrimathi S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon