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

CHART THEME & Y- AXIS WITHOUT RANGE(MULTIPLEAXES)

1. have to use both for chart appearence

 palette: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
            
            theme: 'gradientlight'

only palette is applied but theme is not applied  for the chart.

APPLY GRADIENT FOR COLOR

2.  I have multiple axes ,dont'have to specify range ,it should be taken automatically 
but it will  display result as image attached .
column max value=216.
please see image attached.

Thanks

Attachment: MultipleAxes_4e4d9129.rar

3 Replies

AT Anandaraj T Syncfusion Team March 9, 2015 11:41 AM UTC

Hi Kalpa,

Thanks for using Syncfusion products.

Query #1: Only palette is applied but theme is not applied for the chart

We have analyzed your query and we would like to inform you that gradient theme will only be applied to the default color of series. When using palette with gradient colors we need to specify the colors in gradient and their color stop values.

Please refer the following code snippet to achieve this

<code>

[JS]

                          //Creating a palette with gradient colors

                          palette: [

                              [{ color: "#058DC7", colorStop: "0%" }, { color: "#50B432", colorStop: "100%" }],

                              [{ color: "#ED561B", colorStop: "0%" }, { color: "#DDDF00", colorStop: "100%" }],

                              [{ color: "#24CBE5", colorStop: "0%" }, { color: "#64E572", colorStop: "100%" }],

                          ]

</code>

[Screenshot]

Chart colored using gradient colors in palette

Query #2: Automatically calculated range is not proper in multiple axes

We have created a simple sample to reproduce the reported issue but the issue is not reproduced. The sample can be downloaded in the following link

http://www.syncfusion.com/downloads/support/directtrac/118420/GradietPallete77613991.zip

We would like to know the following details so that we can analyze the issue further and provide a solution.

1.       Would you please let us know whether range is set for any of the vertical axes? Because specified range will overwrite the automatically calculated range

2.       Could you please check our sample and let us know whether the issue is reproduced or not? If the issue is not reproduced, could you please give more information by reproducing the reported issue in the above sample?

The information provided would be of great help in resolving the issue.

Please let us know if you have any concern.

Regards,

Anandaraj




KS kalpa serashiya March 9, 2015 12:42 PM UTC

thank you .
still i have same issue for mutiple axes.
Automatic Range value for  primary yaxis.
I have attached text file .
apply same joson data  as in text file
issue can be reproduce.

thank you



Attachment: Json_Data_for_Multiple_Axes_196c3d6.rar


AT Anandaraj T Syncfusion Team March 10, 2015 07:28 AM UTC

Hi Kalpa,

Thanks for providing the information.

We have modified our sample using the data source provided by you but the issue is not reproduced. The sample can be downloaded from the following link

http://www.syncfusion.com/downloads/support/directtrac/general/GradientPalette-466872450.zip

[Screenshot]

Chart with provided data source

Since the issue is not reproduced in our sample, we would like to know the following information so that we can analyze the reported issue further and provide a solution.

Could you please let us know the version of Essential JavaScript you are using? We have used the latest version of Essential JavaScript (12.4.0.34) for testing.

Could you please try the above sample and let us know whether the issue is reproduced or not?

If the issue is not reproduced, could you please provide a sample to reproduce the reported issue?

The information provided would be of great help in resolving the issue.

Please let us know if you have any concern.

Regards,

Anand



Loader.
Live Chat Icon For mobile
Up arrow icon