Jump to content
Software FX Community

MJ27

Members
  • Posts

    16
  • Joined

  • Last visited

MJ27's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi All, I have installed Chart FX 7 on a web server and I have pages which contain charts; all up I have about 30-40 charts. I have created an Application Pool for CHARTFX7. I have noticed that after a couple of hours after doing an IIS reset the memory usage for the w3wp.exe process associated with ChartFX 7 increases to more than 700MB. Can any body shed some light on this issue? Regards, MJ
  2. Hi All, I have a chart which has 2 series one is a bar gallery and the other is a line (step) gallery. I am trying to create a chart which looks like {Required Chart} but the actual chart looks like {Actual Chart}. I mainly have the following questions: 1. Is there any way I can change the alignment of bar chart i.e. instead of showing the bar chart equally on either side of the label, show the bar on the left or right of the label. 2. Is there any settings on the Step mode of line chart which can be used to get the desired results Thanks, MJ
  3. MJ27

    ToolTips

    Hi Pipon, The example in the above link 'AjaxCustomizedTooltip' only work if the render format for the chart is 'Image', it does not work for '.NET' render formats. Could you please provide any examples for customization of tooltips per data point. Basically I am trying to show a calculated value on the data point. Thanks, MJ
  4. Hi All, I am using ChartFX 7.0.3306.26568. On a line chart I have 4 series rendered, say S1, S2, S3,S4; I am changing the order of the series by using the following method "Bring To Front" and "Send To Back" provided on the series context menu. I also have a button on the page which will cause a post back. I have noticed that when I just change the order of series, i.e. I am not changing any other property for any series, the new series order is not returned on a post back. Example Scenario 1: Step1: Initial Series Order: S1, S2, S3, S4 Step2: After sending the first series to back: S2, S3, S4, S1 This change is not reflected when the page does a post back. Example Scenario 2: Step1: Initial Series Order: S1, S2, S3, S4 Step2: After sending the first series to back: S2, S3, S4, S1 Step3: Change the Colour/Gallery/ turn on or off the point labels on any of the series. This changes (i.e. the series order and the colour/gallery/ point labels) is reflected when the page does a post back. Is this a bug with ChartFx or am I missing something? Any help would be great. Thanks, MJ chart_files.zip
  5. Hi All, I am trying to remove the 'Statistical Studies' option from toolbar and context menu. I have tried clearing the context menu by doing: mChart.Commands[ChartFX.WebForms.CommandId.ContextMenuBack].SubCommands.Clear(); this clear everything except the statistical studies option. At runtime I can still see 'Statistical Studies' in context menu. On the toolbar I know the position of 'Statistical Studies' option therefore I tried doing : mChart.ToolBar.RemoveAt(15); // assume 15 is the position of 'Statistical Studies' this did not work. In code I also tried setting the Legend Box to false: ((Statistics)mChart.Extensions[0]).LegendBox.Visible = false; still no joy. Is there any other way of removing 'Statistical Studies' option from the toolbar and context menu. Regards, MJ
  6. Hi All, I am trying to use this tooltip format: %v<n> According to documentation %v<n> is "v <n> For types that require more than one series, these are replaced by the value of each one. (n represents an index)." I have two series rendered on a statistical chart, 'avg.value' & 'slota.value' . I have set the Tooltip format for the chart as Chart.TooltipFormat = "%v0 - %v1"; I was hoping to get the value for both the series at a given data point in the tooltip, but I am getting the consecutive value of the same series. Please see the screen shot, I have the obtained results in red, the expected results are marked in green. Can anybody please explain with an example how this formatter works. Any help would be great. Thanks, MJ
  7. Thanks AndreG for your reply.I am getting the following property as 'undefined' error when accessing it in javascript. obj.Points.Item(0,0).Tag is undefined. How should I access this property. However I can access another property obj.Points.Items(0,0).Volume Order of execution: 1. Assign data to chart from a datatable. data table columns are mapped using the FieldMaps2. assign value to each Chart.Point[0,0].Tag 3. Draw chart. Thanks, MJ
  8. Hi All, I have associated to series with a statistical histogram chart, namely series 1 and series 2. I am trying to set the visibility of the series to false by doing the following in code: Chart.Series[1].Visible = false; This series still shows up on the chart. I am not having this issue with a normal chart like the sequential chart. For a normal chart doing the above will hide the series from the chart but the data for the series is still associated with the chart. i.e. in java script I can access the series on a UserCommand event like this: var name = obj.Series.Item(1).Text ; var dp = obj.Data.Item(0, 1); // obj.Data.Item(<series index>, <point index>) I did find something on the forum regarding this issue but the fix, made the series invisible but that dis-associated the data for the series from the chart. i.e. the suggested solution was: Chart.Data.Series = Chart.Data.Series - 1; but the following code was throwing an error in java script: var name = obj.Series.Item(1).Text ; var dp = obj.Data.Item(0, 1); // obj.Data.Item(<series index>, <point index>) So, how do we make a series hidden for statistical chart. Is there some other procedure? Any help would be really appreciated. Thanks, MJ
  9. Hi All, I am trying to access the chart data in javascript on clinet. At the server I have create a table with 3 columns: 1. valueofX 2. valueofY 3. Timedata I have associated this table with the chart: Chart.DataSource = dtTable; The column are mapped as follows: Chart.DataSourceSettings.Fields.Add(new FieldMap("valueofX", FieldUsage.XValue)); Chart.DataSourceSettings.Fields.Add(new FieldMap("valueofY", FieldUsage.Value)); Chart.DataSourceSettings.Fields.Add(new FieldMap("Timedata", FieldUsage.NotUsed)); Please note that I dont want the chart to use the data passed in"Timedata" column, hence i have assigned the field usage as'FieldUsage.NotUsed'. I have a link on each data point, when i click on this link a 'UserCommand' event is generate on client. This event pass the following parameters "obj, args". I can access the X and Y values for the chart using obj.Data.X.Item(<series>,<point>) obj.Data.Y.Item(<series>,<point>) How can I access the data in "Timedata" column on client side. Any help would be highly appreciated. Thanks, MJ
  10. Hi All, There was a previous post ( .Net client control events not firing ) on this topic. There where basically two options suggested: 1. Event can be handled on the client side 2. Event can be handled on the server side I have taken the second approach, and I am stuck. I am trying to implement simple command in the series context menu, and I want to process the event on server side. I have attached a simple project with this post. Could anybody please point to me what I am doing wrong? Could anybody shed some light on the SFX callback architecture of ChartFX? Thanks in advance. Regards, MJ
  11. Hi All, In this post "Client .NET control Axis Min, Max, Step not sent to the server on postback" software fx has provided a solution to return the Min, Max and the step size during a postback. The solution was to set the chart template mask properties to : chart.TemplateMask = FileMask.Template | FileMask.Scale; I have tried this in sequential and scatter charts and it works fine. But when i try to change the min, max, step on a statistical chart, i don't get back the step values. Does the above solution just work for normal charts ? Is there any other way of getting the scaling values for a statistical chart? Thanks & Regards, MJ
  12. Hi All, I have changed the Scaling values (Step, Min, Max, Decimals) for y-axis on a chart and exported it to XML using the "export" method. I can see in the XML file, the correct value are getting saved. I render the chart by importing from the XML file. The chart is rendered correct, now we click on Properties (in the toolbar) and bring up the properties dialog, navigate to the y-axis tab. The Minimum and Maximum value are set to 'Auto' and not the saved value, the Step and the Decimals reflect the saved values. Is this a issue with ChartFX7 or am i missing something. Could any please shed some light on this issue. Thanks & Regards, Melvin
  13. Hi All, I am trying to plot an X bar - R chart using only one series. I have changed the data in the example provided in ChartFx - Statistical Sample example found in the Chart Fx Resource Center. The data now looks like this: <?xml version="1.0"?> <CHARTFX> <COLUMNS> <COLUMN NAME="Date" TYPE="String"/> <COLUMN NAME="Monday" TYPE="Double"/> <COLUMN NAME="Tuesday" TYPE="Double"/> <COLUMN NAME="Wednesday" TYPE="Double"/> <COLUMN NAME="Thursday" TYPE="Double"/> <COLUMN NAME="Friday" TYPE="Double"/> </COLUMNS> <ROW Date="2003-02-01" Monday="33"></ROW> <ROW Date="2003-02-08" Monday="30"></ROW> <ROW Date="2003-02-15" Monday="31.8"></ROW> <ROW Date="2003-02-22" Monday="28.5"></ROW> <ROW Date="2003-03-01" Monday="27.2"></ROW> <ROW Date="2003-03-08" Monday="30.5"></ROW> <ROW Date="2003-03-15" Monday="35.4"></ROW> <ROW Date="2003-03-22" Monday="33.6"></ROW> <ROW Date="2003-03-29" Monday="35.8"></ROW> <ROW Date="2003-04-05" Monday="30.4"></ROW> <ROW Date="2003-04-12" Monday="26.9"></ROW> <ROW Date="2003-04-19" Monday="28"></ROW> <ROW Date="2003-04-26" Monday="29.1"></ROW> <ROW Date="2003-05-03" Monday="26.4"></ROW> <ROW Date="2003-05-10" Monday="27.4"></ROW> </CHARTFX> I get the following error when I try running the X-chart or R-chart: Index was out of range. Must be non-negative and less than the size of the collection.<br>Parameter name: index Server Error in '/Statistical' Application. Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Source Error: Line 84: ReadChartData("xChartData.txt", true);Line 85: Label1.Text = "The x Chart will only plot one point per configured data series. Each point displayed is actually the sample mean for all the observations (values) contained in the sample (series). Therefore, if you have 10 series of 50 points, your XChart will only display 10 values, the mean for each series.";Line 87: }Line 88: if (RadioButtonList1.SelectedValue == "r Chart") Source File: c:\Program Files\Chart FX 7\Help and Samples\Sample Applications\Web Forms\VS2008\Statistical\SPC.aspx.cs Line: 86 Stack Trace: [ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index] System.Collections.ArrayList.get_Item(Int32 index) +2880797 ChartFX.WebForms.Internal.RequiresAmbientCollection.get_Item(Int32 index) +30 ChartFX.WebForms.SeriesAttributesCollection.get_Item(Int32 index) +29 ChartFX.WebForms.Statistical.StudyInteractive.GetAxis(Int32 series) +152 ChartFX.WebForms.Statistical.StudyStripe.AttachToChart() +307 ChartFX.WebForms.Statistical.StudyStripe.b() +80 ChartFX.WebForms.Statistical.StudiesCollection.a() +187 ChartFX.WebForms.Statistical.Statistics.n() +77 ChartFX.WebForms.Statistical.SpcChart.a(Int32 A_0, Boolean A_1, Int32 A_2, IDualData A_3) +475 ChartFX.WebForms.GlobalAttributes.a(Gallery A_0, Int32 A_1, IGalleryType A_2, IGalleryTypeEx A_3, Boolean A_4) +296 ChartFX.WebForms.Chart.set_GalleryAttributes(Object value) +409 ChartFX.WebForms.Statistical.Galleries.a() +104 ChartFX.WebForms.Statistical.Galleries.set_Current(Gallery value) +29 SPC.RadioButtonList1_SelectedIndexChanged(Object sender, EventArgs e) in c:\Program Files\Chart FX 7\Help and Samples\Sample Applications\Web Forms\VS2008\Statistical\SPC.aspx.cs:86 System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +105 System.Web.UI.WebControls.RadioButtonList.RaisePostDataChangedEvent() +145 System.Web.UI.WebControls.RadioButtonList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +7 System.Web.UI.Page.RaiseChangedEvents() +117 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1646 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 Does ChartFX implementation on X bar - Rchart allow such a scenario? Could anybody please tell me what I am doing wrong. I am using ChartFX 7 Thanks & Regards, Melvin
  14. Thank you Frank for your reply . This is not happening for me. I have a simple test app with a chart and button on it. I do a simple task as changing the gallery type and now i click the button, this click button is causing a post back but I am not getting the changed value of the chart gallery on the server. This happens when I am using the .NET render format. Is there a setting I missing or is there any other method of turning on/off the postback of chartfx?
  15. I want to track the changes made to the chart, changes like changing the gallery type, enabling/disabling the legend etc. On debuggin the code I found out the ChartFx was not sending back the changes made to the chart on the client to the server. I am a newbie to using ChartFX, could anybody please point me in the right direction., any help is good. Thanks in advance.
×
×
  • Create New...