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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

When using HTML Canvas for Charts, title alignment is ignored

Thread ID:

Created:

Updated:

Platform:

Replies:

120766 Oct 13,2015 05:26 PM UTC Oct 15,2015 01:44 PM UTC JavaScript 1
loading
Tags: ejChart
David Elies
Asked On October 13, 2015 05:26 PM UTC

It seems that several settings are ignored when using the HTML5 Canvas for displaying charts.  The alignment of the title seems to be always set to center, regardless of the setting for "textAlignment" in the properties object specified when creating the chart title. Also, the title alignment doesn't appear to take the labels into account in a bar chart when aligning the title, it only aligns to the chart picture, not the entire chart, which includes the labels (which in my case are much longer than the chart itself).

Sanjith Kesavan [Syncfusion]
Replied On October 15, 2015 01:44 PM UTC

Hi David,

Query1: The alignment of the title seems to be always set to center, regardless of the setting for "textAlignment" in the properties object specified when creating the chart title.
We have analyzed this query and replicated the scenario in our sample. But we are not able to reproduce the reported issue. “textAlignment” is working fine in the our sample. We have prepared the sample with textalignment as “near”. Please find the below code example.

[JS]


Please find the below screenshot of the chart with the title text alignment as “near”.


Please find the sample from below location.
Sample Link: http://www.syncfusion.com/downloads/support/forum/120766/ze/JS1041133691

If you still face any concern, kindly revert back us by modifying the attached sample along with replication procedure. Or else please provide us the sample in which reported issue is reproducing. This will be helpful for us to find and fix the issue sooner.


Query2:  Also, the title alignment doesn't appear to take the labels into account in a bar chart when aligning the title, it only aligns to the chart picture, not the entire chart, which includes the labels.
We were able to reproduce the problem and have logged defect report regarding this.  A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents


Please let us know if you have any concern.


Regards,

Sanjith K.


CONFIRMATION

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.

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

;