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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Option Method

Thread ID:

Created:

Updated:

Platform:

Replies:

117414 Oct 16,2014 01:12 PM UTC Oct 17,2014 12:35 PM UTC JavaScript 1
loading
Tags: ejChart
Josh Bowen
Asked On October 16, 2014 01:12 PM UTC

I noticed in the following example:
http://js.syncfusion.com/demos/web/#!/azure/chart/ChartCustomization/LegendPosition
that the 'option' method is being used to set the position of the legend. 

$("#container").ejChart("option", { "legend": legend(sender, sender.selectedText) });

The option method does not appear to be in the documentation for ejChart at http://help.syncfusion.com/UG/JS_CR/ejChart.html

Could you tell me what the 'option' method does, why it is not in the documentation and what other methods are available?

Akbar Basha K M [Syncfusion]
Replied On October 17, 2014 12:35 PM UTC

Hi Josh,
Thanks for using syncfusion product. We have analyzed your requirement,

Query #1: The option method does not appear to be in the documentation for ejChart

Response : We will be adding those methods in online documentation soon

Query #2: Could you tell me what the 'option' method does and what other methods are available?

Response:  The option method can be used to change properties of a chart dynamically after rendering, without creating an instance for chart.

redraw():

This method can be used to update the dynamic data without refresh the page we can add the data and change the any property using redraw method, with creating an instance of a chart.

Query #3:  why it is not in the documentation

Response: option method was used in all JS controls so we cannot add this method under chart. We will consider your request and update our documentation soon

We have prepared a simple sample based on redraw method. Please find the attached sample.

Please let us know if you have any concern.

Thanks,
Akbar Basha K M


Attachment: line_(2)_79da06e4.zip

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

;