Jump to content
Software FX Community

wuttrain

Members
  • Posts

    24
  • Joined

  • Last visited

wuttrain's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I'd like to know if I can install the trial version using Visual Web Express. Thanks! wuttrain
  2. I just read from the forum that chartfx may not work inside the updatepanel if it is RenderFormat is .Net. Since I want to use .Net as the RenderFormat, I removed the updatepanel and the chartfx control should be inside the form now. But I'm still getting the same problem, it doesn't refresh the value. Any help is always appreciated. Thank you!
  3. Hi, My page has an updatepanel, inside that updatepanel are 2 controls: A linkbutton and the chartfx control. I also have a javascript code shown below. The linkbutton's OnClientClick property is set to MyRefresh_Click(). < script type="text/javascript">function MyRefresh_Click() { SFX_SendUserCallback('cDetail','My Param Data',false); } </script>When I click the page, the UserCall back was triggered, and inside the UserCallback I've reloaded the data. My problem is the chart didn't refresh with the new data or sometimes it just disappears. What am I missing here? Thanks! Protected Sub cDetail_UserCallback(ByVal sender As Object, ByVal e As ChartFX.WebForms.UserCallbackEventArgs) Handles cDetail.UserCallback---code to reload new data here End Sub
  4. wuttrain

    Zoom event

    Hi, I have a page with a ChartFX control, I also have this JavaScript code in the web's page source: < script lang="JavaScript" for="Chart1" event="UserZooming(sender, e)"> var X1 = Chart1.AxisX.PixelToValue(e.X1) var Y1 = Chart1.AxisY.PixelToValue(e.Y1)var X2 = Chart1.AxisX.PixelToValue(e.X2) var Y2 = Chart1.AxisY.PixelToValue(e.Y2)alert( "User zooming event raised from X='" + X1 + "' and Y='" + Y1 + "' to \n X='" + X2 + "' and Y='" + Y2 + "'");</ script> When I zoom the chart, this works fine as I get the popup to alert me that event was raised. My question is the Zoom event from the code behind is not called? My goal here is allow the user to get the X,Y coordinates, and from there use these coordinates to reload the data. The function that reloads the data is in the code behind, so I want to get XY coordinate values and pass it to the codebehind function. But there is no event that brings me back to the code behind to handle this. Any thoughts? Thanks! Protected Sub Chart1_UserZoom(ByVal sender As Object, ByVal e As System.EventArgs) Handles Chart1.UserZoom End Sub
  5. Hi, For my web app, I am expecting large amounts of data points displayed in the chart, and it is really taking time to load the chart. If I use the Compact functionality of ChartFX, will it improve the speed of rendering? For example, I have 3 series with 100,000 points for each series. When I tried adding the lines: chart.Data.Y.CompactFormula = CompactFormulas.Average chart.Data.Compact(0.1) ' here I used the values, 0.1, 0.2, 0.3, 0.4, 0.5, and 1 and looked at the temp folder files, the size of the files .chs and .chw are the same when I run the different compacting values. So I'm assuming the speed is the same. In this case, what should be the best step here, should I process (create my own data summary) the data first from my database before putting it on the chart? Any help is always appreciated! Thanks! Sherwin
  6. Hi, I tried using this event but this event is not raised/called everytime I zoom my chart. Is there anything I should set on my chart control? Thanks! wuttrain
  7. Hi, Here is a scenario: A user selects a date range (a year of data, each row has a 5-second timestamp, so this is large) and generates the graph. The x-axis should show the months name (Jan, Feb, etc..). When the user zooms an area of the graph, I want to redisplay the x-axis labels depending on how the user is zooming. So if user zooms the are of February, I should be able to see the February dates in the x-axis, if user zooms on a certain date of February, x-axis labels should the hours, if user zooms on a certain hour, x-axis should show minutes/seconds. Is this possible? Thanks! wuttrain
  8. Frank, It's a .CHW file, so added this extension as one of the supported Mime Types and it worked. <object codetype="application/octet-stream" id="Chart1" classid="/chartfx70/download/ChartFX.NetIEClient.dll#ChartFX.NetIEClient.Chart" standby="Downloading Chart FX control please wait ..." WIDTH="523px" HEIGHT="360px" style="z-index=1; left=10px; top=15px; position=absolute; " > <param name="DataPath" value="/chartfx70/temp/CFV0515_0128241078A.chw"/> [Chart FX: .NET Active client requires Internet Explorer and .NET Framework 2.0 or greater installed on the client computer.] </object> Excellent! Thanks! wuttrain
  9. Additional info: When I run my app locally, .js files are created in the chartfx70/temp folder, but when this is run live, .js files are not created - RenderFormat is "Auto". When I set the RenderFormat to Image, chart is displayed on both local and remote. Thanks!
  10. Hi, I don't get this error message when I run the application locally, but when I run from a live webserver, it gives me this error. Are there any settings that I need to the folders in chartfx70? Or what am I missing? Thanks! wuttrain
  11. I changed the code to this, but it only updates Chart1 and not Chart2: function Select_OnChange(dropdown) { var myindex = dropdown.selectedIndex;SFX_onCallbackReadyDelegate = function () { SFX_onCallbackReadyDelegate = null;SFX_SendUserCallback('Chart2', myindex ,false); } SFX_SendUserCallback('Chart1', myindex ,false ); } Thanks Frank.
  12. Hi, I have 2 (or more) charts on a page, and I have a HTML select control (1 week; 1 month; 1 year). So when I select 1 month from the list, I'd like to refresh my charts to 1 month data. I have created this function in Javascript, and created the UserCallBack for each chart function Select_OnChange(dropdown) { var myindex = dropdown.selectedIndex;var SelValue = dropdown.options[myindex].value; SFX_SendUserCallback( 'Chart1', myindex ,false);SFX_SendUserCallback( 'Chart2', myindex ,false );} But it seems that only Chart1 is refreshed/reloaded but not Chart2. I am not really familiar with Javascript, so I'm not even sure if calling SFX_SendUserCallback twice will do it. Please let me know. Thanks! wuttrain
  13. I am still evaluating this control, so is the special license available in trial mode? Thanks Frank.
  14. Hi, Here are the things I noticed when I run my web application in Safari (this app runs properly in IE 7): 1. When the chart displays the graph, I right-clicked Toolbar from the pop-up menu and then firefox just hangs there. 2. I added chart1.toolbar.visible = true, and the graph displays with the toolbar, but when I clicked on the zoom icon and selected 150%, firefox hangs Did I miss assigning properties or is this a script looping? Thanks! Sherwin
×
×
  • Create New...