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. Image for the cookie policy date
close icon

Chart SubTitle position is not working

Hello 

I was exploring subtitle property of chart control. There is three option to align the text of subtitle : Left, Right and Center

When I set position of sub-title left and right reps. then its working fine but when I set position to center then its not working.

On sync fusion online demo its working fine but in my offline demo application its not working, please give me some suggestion or prop to set sub title position.

Also there is no option to set title and sub title text and position in some controls like Circular gauge, linear gauge, grid.

Please provide this option in above controls also.

Thanks

2 Replies

VS Vidhika sarda April 6, 2015 04:12 AM UTC

Hello

I am still waiting for your response, please provide some solution.

Hoping for a good response

Thanks


JA Jayavigneshwaran Syncfusion Team April 6, 2015 02:01 PM UTC

Hi Vidhika,

Thanks for using Syncfusion product.

We have analyzed this. Find response for this based on the controls

Chart: You can find the chart title and subtitle position in the below link

Link: http://js.syncfusion.com/demos/web/#!/azure/chart/chartcustomization/subtitle


We have replicated your scenario in our sample. But we are not able to reproduce the reported issue.

So kindly revert back your sample or replication procedure to reproduce this. So that we can find and fix the issue sooner.


Grid:

Currently, we don’t have any inbuilt support to provide Tile and Subtitle for Grid control. But we can achieve your requirement by placing html elements, that holds the title and subtitle, before the Grid.

Please refer the below code snippet.


<style>

#title{

text-align:center;

font-weight:bold;

font-size:25px;

}

#subtitle{

text-align:center;

font-weight:200;

font-size:20px;

}

style>


<div id="title" >Titlediv>
<
div id="subtitle" >Sub Titlediv>

<ej:Grid ID="OrdersGrid" runat="server" AllowPaging="True" >

. . . . . .
ej:Grid>



For your convenience, we have created a simple sample with the above solution and the sample can be downloaded from the below location.

Sample Link: http://www.syncfusion.com/downloads/support/forum/118720/Sample1747219507.zip


Radial Gauge:

We can meet your requirements “ set title and sub title based on the positions” by using our “Custom Label” support. Please refer our online sample and documentation to know about the “custom Labels” from the following location.


Sample:

http://asp.syncfusion.com/demos/web/circulargauge/customlabel.aspx


Document:

http://help.syncfusion.com/ug/js/default.htm#!documents/customlabels.htm


Linear Gauge:


Sample:


http://asp.syncfusion.com/demos/web/lineargauge/customlabel.aspx


Document:

http://help.syncfusion.com/ug/js/default.htm#!documents/customlabels1.htm


Please let us know if you have any concern.


Thanks,

Jayavigneshwaran


Loader.
Live Chat Icon For mobile
Up arrow icon