• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About JuanC

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  1. Hi all, is there any way to built guages on wpf 

  2. Yes, I was referring to the latest ChartFX 7 build. Any build marked 7.0.6305 or later should include the fix. Regards, JuanC
  3. We were failing to dispose a child control, this has been fixed on our latest build, note that this control AFAIK would still be properly disposed in the next GC but clearly if you run multiple Reset calls in a tight loop it might cause some problems. Regards, JuanC
  4. Please note that Chart.Reset is meant to be used if you have a "dirty" chart that you need to reset to its original state, e.g. a chart with data and several settings that you need to reset back. You mentioned you are doing this as part of the initialization process so I wonder why you are using Reset. The code for reset reinitializes the chart using our serialization process but does not show an obvious leak, can you clarify how are you detecting this leak? Regards, JuanC
  5. I would recommend you start changing the style to one of our simpler styles such as "Basic" or "Simple", e.g. chart1.Style = ChartFX.WPF.Motifs.Basic.Style; To remove the gradient background, change the background property to a solid brush, e.g. chart1.Background = Brushes.White; After that you can configure colors or other properties as desired. JuanC
  6. I apologize for the issue with the email address, please resend your email to products at softwarefx dot com, if possible include a link to this thread so that it can get routed appropriately. JuanC
  7. Can you please send us one of the powershell scripts that worked when you uninstalled powershell 3.0 and stopped working after reinstalling powershell 3.0? You can send it to support at softwarefx dot com, if it has proprietary information in you can send us an edited version with the out-gauge parameters only as I do not think it depends on the data. It is probably a bug related to one of the parameters or powergadgets template you are using. JuanC
  8. The special value we use in ChartFX for WPF to "interrupt" a line is Chart.Hidden so before passing the data to the chart you might have to replace 0s with Chart.Hidden. If you are passing CLR objects you can add a property to your objects where you do this translation. JuanC
  9. PowerGadgets saves gadgets user settings (position, chart attributes, etc.) in the following directory <UserFolder>\AppData\Roaming\Software FX, Inc\PowerGadgets\VersionNumber\Personalization Please note that the AppData folder is hidden by default. Since Vista this folder is located at C:\Users\YourUserName\AppData, in XP it was located at C:\Documents and Settings\YourUserName\Application Data. Where VersionNumber might be 1.0 or 2.0 Cleanup this folder to check if the missing gadgets are caused by corrupt settings. You can also turn off personalization on a per-gadget basis in the PowerGadgets Creator. Regards, JuanC
  10. Note that to set the font size to scale so that the percentage fits in the slice you would do ChartFX.WPF.Galleries.Pie pie = (ChartFX.WPF.Galleries.Pie) chart1.AllSeries.GalleryAttributes; pie.ScaleLabels = true; There is no way to force inside labels without scaling them, please let is know if this works for your scenario. JuanC
  11. We uploaded a new hotfix containing this fix (and a couple of other fixes). Hotfixes do not have the same level of testing as service packs so they can be provided in a more agile manner.JuanC
  12. To hide the axis labels (and reduce space occupied by it) you can try the following code chart1.PlotArea.Margin = new Thickness(0, 0, 0, 0); chart1.AxisY.Labels.Visibility = AxisLabelVisibility.Collapsed; chart1.AxisY.Grids.Major.TickMark = TickMark.None; chart1.AxisY.Grids.Major.TickSize = 0; chart1.AxisY.Grids.Minor.TickMark = TickMark.None; chart1.AxisY.Grids.Minor.TickSize = 0; chart1.AxisY.Separation = 0; Note that there will be a small space (about 2-3 pixels). In our next 8.1 build this should be reduced. If you are also hiding the X axis you could remove the chart's outside border so that you do not get the "double border" effect. Regards, JuanC
  13. Can you post a screenshot of the chart you are trying to accomplish? In ChartFX WPF 8.1 we include a statistical extension which supports histograms. JuanC
  14. If you want to draw something "on top" of the plotarea, you can use the annotation extension, using this extension you can create any WPF Visuals (Rectangle, Polygon, etc.) as well as other controls (Other chart, Button, etc.) and attach it to an axis-related coordinate, e.g. the top left corner would be X = 0 and Y = MaxYValue Does this help? JuanC
  15. First you may want to change from our default glass style to use the Simple or Basic styles. To control the margin of the plotarea you will want to change the Chart.PlotArea.Margin property. Please note that if you do not hide the X or Y axes they will still occupy some space for the labels. Also instead of placing a chart as an annotation of another you could place them both on top of each other (e.g. both on the same grid cell) and change the background of the chart on top so that it does not hide the one on the back. Regards, JuanC