JuanC

Staff
  • Content count

    841
  • Joined

  • Last visited

Community Reputation

0 Neutral

About JuanC

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. Unfortunately we do not support such a control in ChartFX for WPF. Regards, JuanC
  13. Even though AxisX and AxisY are DPs (and we will check if the bindings you wrote are working as expected), I would recommend you consider binding against the particular properties of Axis that you care about (e.g. Min and Max) JuanC
  14. Can you post a screenshot (use dummy data if necessary) and more details about the data passed to the chart? JuanC
  15. As soon as you bind real data to the chart it will stop displaying the "random" data, this random data is there as it would be very disconcerning if you drop a chart control into VS and just get an empty rectangle. If you want an empty chart, you might have to set or bind the Chart.ItemsSource property to an empty collection or null. JuanC