Jump to content
Software FX Community

sudidela

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by sudidela

  1. I have a data for one year. If i pass the data, chart plots fine. If i zoom the chart continuously, at some point of time, X-axis scroll bar slider is coming out of Scroll bar... This happens only when the data exists for longer duration like for 1 year. Please help me out of this problem......... Thanks
  2. Thank you rocioZ.... Is it the same for Y-axis as well.? I mean is it that Step value should be greater than Minor step value for Y -axis as well?
  3. After zooming the chart, we are capturing max and min values of Y axis of chart. These max and min values are used for chart.AxisY.SetScrollView(min,max); After this, if we check the Y axis step, the step is coming as negative value. Can the Axis(Y or X axis) step can be a negative value? Thanks...
  4. In a windows application i am working on, i have implemented a custom zoom to capture the exact area selected by the user for zoom. after zoom is done, some times AxisX scroll view is not refreshing and so if we move scroll bar, application is crashing...... So to find the root cause of this, at one point of time i found that crash is happening when if ((Chart.AxisX.ScrollSize - Chart.AxisX.ScrollPosition) == 1 ) then application is crashing. so if the above condition executes, i am writing the below code Chart.AxisX.ZoomOff(); Chart.AxisX.Step = PreviousAxisXStep; // PreviousAxisXStep is stored before zoom is done cfxBaseChart.Refresh(); Then AxisX is getting refreshed and there will not appear scroll bar for X-axis.. If data points are less, it's ok. Flickering will not be there.... If large no of data points are there, then flickering is involved......which is very bad experience for the user.... What does this Chart.AxisX.ScrollSize and Chart.AxisX.ScrollPosition literally mean?????? Please help me out of this problem....... Thanks in Advance........
  5. How can i provide intelligence of displaying Y axis labels with the decimal precision based on the zoom. If the data passed to the Y- axis of the chart is like 3.5, 3.8, 4.2, 12.1, 18.6, 22.448, 44.798633, 12.333,15.89475698236,...... Initially when the plot is plotted, there should not be any decimal precision displayed. The Yaxis should display the labels like 1,2,3,4,.... till maximum value passed to the chart.. As the user zoom certain area of the chart, decimal precision should increase if there is any data.......
  6. Even though Try Catch bolcks are there, We could not able to catch the Exceptions of ChartFX as it is not throwing.....Instead Application is getting crashed..... We could able to handle the other Exceptions of our Application but could not able to handle the Exceptions from ChartFX..........
  7. How can i handle the Exceptions thrown by ChartFx instead of the Application getting crashed..............
  8. Please find the Attached Excel sheet which has the information of the Exception.
  9. Here the main concern is how to catch the Exceptions thrown by ChartFx... As we know ChartFx doesn't handle the value of Nan. When Nan values are passed to ChartFX, application will crash!!!!!!!!. So in this scenario as a developer i should able to handle the Exception instead of application getting crashed.
  10. When i have to use Chart.Refresh(); We have implemented Custom Zoom where in we take the coordinates of the area that is selected for Zoom and create the rectangle using the coordinates. The created rectangle is sent as a argument for Chart.ZoomToWindow(Rectangle.Left, Rectangle.Top,Rectangle.Right, Rectangle.Bottom); double dblmin = 0; double dblMax = 0;cfxBaseChart.AxisX.GetScrollView(out dblmin, out dblMax); DateTime dtStartDate;DateTime dtEndDate; dtStartDate = DateTime.FromOADate(dblmin);dtEndDate = DateTime.FromOADate(dblMax); TimeSpan ts = dtEndDate.Subtract(dtStartDate);Chart.AxisX.Step = (1 * (int)ts.TotalHours) / (24.0 * 6.0); Chart.AxisX.Zoom(dblmin, dblMax); foreach (AxisY axisY in cfxBaseChart.AxesY) { double dblmin = 0;double dblMax = 0;axisY.GetScrollView(out dblmin, out dblMax); axisY.Step = (dblMax - dblmin) / 10; axisY.Zoom(dblmin, dblMax); } After that Chart.Refresh() is used.. But After zoom, scales are not getting refreshed. And because of this, if we scroll the axis at that instant, application will crash.
  11. I am working on a windows application where in we use ChartFx for plotting of Graphs. If we do any mistake like setting Min and max values for Chart axes and because of this the calculation of Chart internal calculations will throw an Exception. In my application even though i keep try and catch block to handle the exceptions, i can not able to handle the exception that are from Chart and because of that total application gets crashed.. Any help for handling the exceptions thrown by ChartFX?
  12. so ,do you mean to say that I can draw some shapes on Chart using GDI+.?? How Can I get Graphics object of chart?? ChartFXWPFTest11.zip
  13. What can we do in the Post Paint Event of Chart. Can we set Y-axes max and min values based on some condition in the post paint event if i have plotted multiple Y-axes on the chart. What kind of settings to the chart can be done in the PostPaint Event of Chart? ChartFXCustomAxisLabels.zip
  14. Hi We are working on Windows application where in we need to capture the data from device and send it to chart for plotting. X-axis values will have the DateTime values and Y-axis will have the double values. If we pass the double values to Y-axis like 1.973962E-15, 2.508606E+15, 46.15, 4.1685E-15......, then application is getting crashed. I am attaching the snapshot of the Exception details.
  15. Hi, As the default zoom provided by the ChartFx doesn't zoom exactly from the location where the left mouse button is clicked to the location where the mouse button is released, we would like to implement the custom zoom in our application. Here are the steps we follow for the implementation of Custom zoom: 1)Capture the mouse down event and store the Point(X,Y); 2) Capture the mouse up event and store the Point(X,Y); 3)We will create a rectangle with the above 2 points and use this rectangle for ZoomToWindow(int X1,int Y1, int X2, int Y2) method of chart. But while trying to zoom itself , chartfx will take the four sides of the chart area as the selection for zoom. How can we override this selection area behaviour of ChartFX while zoom. i.e We want selection area (Rectangle with dashes) display should be exactly from the location where the left mouse button is clicked to the location where the mouse button is released...... Thanks Sudidela
  16. We have several Y-axis in the chart. Some series are binded to one Y-axis and some other series are binded to the other Y-axis. Obviously it will be confusing for the user to know the series that are binded to the respective Y-axis. So is there any functionality provided by ChartFX so that if i mouse click or mouse hover on the Y-axis will highlight the respective series that are binded to this Y-axis. Thanks Sudidela
  17. I am using ChartFx 7.0.2893 version. After the chart is plotted with some data, when the Print Preview button is clicked, the preview that is opening in a Modal Dialog is fine and correct. If i zoom the chart to some extent and click on Print Preview button, so many pages are generated for preview... If the generated pages for preview are seen, the X-axis that indicating the timeStamps are wrong timestamps... The data given for the chart doesn't contain timestamps in the range of 2009, 2010,2011.........so on All the data is in 2008 year only..... My question is "How come the generated print previewed pages will display the x-axis scale with values in the range of 2008,2009,2010,2011..... so on" even though data given for the chart to plot is of 2008 year data ...? Is document that is given by the chartfx for PrintPreview after zooming of the chart is wrong??????? Here by i am providing the sample application where in you can reproduce the same of what i mean to say.....
  18. I need to assign more number of custom labels to chart's X-axis. Even though i passed all the labels to be displayed, chart x-axis is showing only some labels..... In the snapshot below, if you observe X-axis labels will be displayed where ever the x-axis grid line is there..... How can i display all the labels atleast for the data where ever exists.......... Thanks Sudidela
  19. After the chart is plotted with data and zoomed continuously, some times chart axis scrollbar slider is coming out of Scrollbar. Hereby iam attaching the snapshot where in you can view the problem. Thanks Regards Sudidela
  20. Could you able to reproduce the problem regarding "series plotting beyond the chart boundaries" from the video what i have sent. In the sample application what i have sent regarding this problem, if you try to zoom the peaks of the series, you can find out the problem. Thank you
  21. Hi Frank, The ChartFx version what we are using is same as that of Latest service pack hot fix of chartFx. The only change is in Server components(Flash Generator and Silverlight Server dlls) which we are not at all using. I am attaching the video clip which shows the problem regarding "series plotting beyond the chart boundaries". Please unzip the file "ZoomIssue.zip" to get ZoomIssue.avi You can reproduce the problem by looking in the video clipping. Thanks Sudidela
  22. Hi, We are using chartFx 7.0 version in our windows application. When we go on zooming the plot, at some point of time series is plotted beyond the chart plotting area. I am attaching the sample application where in you can see the issue regarding this. Thanks Regards sudidela
  23. If i leave the default properties as it is so that label angle and layout will be adjusted to fit as many labels as possible, then atleast there should be some labels displayed for x-axis. It is like if there are many labels to be displayed at x-axis, staggered will be ON and label angle will be 90. If there are less labels, then staggered will be OFF and label angle will be 0. These scenarios are working fine. But if there are 150 labels passed to x-axis to get displayed, atleast some should get displayed right!..... But it's not happening. No labels are getting displayed. When i use context menu provided by ChartFX for setting Staggerred or using Vertical label option, i can able to view some labels at the X-axis...... I will get back to you with the sample application... Thank you Frank for the quick response.
  24. Hi, I need to display all the custom labels to X-axis. There will be atmost 52 custom labels. The first label is not getting displayed even though i assign all the labels to X-axis. In other scenario, the number of custom labels that are to be assigned to x-axes will differ. So i can not blindly set the below properties Chart.AxisX.LabelAngle = 0; Chart.AxisX.Staggered = true; The above properties doesn't holds good for all scenarios. If i change the resolution to 1280 X 1024, then i could able to view all the labels. But we require the resolution of 1024 X 768. Is there any thing that chartfx will adjust itself to display all the labels(by utilyzing staggered , LabelAngle properties based on the number of labels) ? Thanks
  25. Here by i attached the sample application which replicates the mentioned problem with Video clipping.
×
×
  • Create New...