Jump to content
Software FX Community

Loading Data & User Interaction


fomur

Recommended Posts

Hi,

I am working on a dashboard project. I created couple of radio buttons to change chart data. Whenever user clicks different radio buttons, page executes a different query on an access data source to provide data to ChartFX object. However, since I am not using AJAX, page reloads each time a user interaction involved. I don't want to use AJAX if it is not last resort. So, is there a way to load all different queries initially to ChartFX object, and then use this data to manipulate the chart on client side whenever a user interaction involved? Also, is there any user interaction control similar to radiobuttons or dropdownlists that can be embedded into ChartFX object so I can avoid using ASP.NET controls. I am using C# as the language and flash rendering option. Thank you in advance whoever helps!!

Link to comment
Share on other sites

1) If you are rendering the chart as an image, there is not "Chart Object" in the client so anything you do to the chart will need to go back to the server.

2) You could generate n different images for different datasets and use JavaScript to show/hide one of them.

3) If you are using the .NET client control, you can write JavaScript to pass new data to the chart using the Data API (same API available in the server component). You will require full trust in the client browser in order to perform Javascript operations against the chart object.

Link to comment
Share on other sites

We have a similar situation and are hoping for your suggestions. We are creating a dashboard with checkboxes to change which data is graphed. We, too, are hoping that there is a way to load all of the data initally to the client side and then create graphs on the client side on the fly (without re-loading the page). We will have a large amount of data behind the graphs, with many checkboxes, so it is not ideal to create and store all of the possible graphs beforehand. What are our options? You said in point #1 above that the request needed to go to the server because the chart was rendered as an image - what rendering format would not need to go back to the server to change the data graphed? Also, could you expand on point #3 from above? What are the possible drawbacks?

 

Thanks!

Link to comment
Share on other sites

 Hi Frank,

 

Thanks for reply. I have two more questions based on reply and if you can also answer them I will appreciate.

1) Is it possible to apply your 3rd solution when using Flash rendering option? ( I don't really thinks so but I just want to make sure)

2) Is there any samples that you may know that applies the 3rd solution as you mentioned?

 

Thanks a lot in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...