Jump to content
Software FX Community

AndreG

Staff
  • Posts

    333
  • Joined

  • Last visited

Posts posted by AndreG

  1.  I have confirmed that there is an issue with that link. Working on it, will report here when its back up.

    Please email contact support [at] softwarefx [dot] com for the correct link. Do not forget to send them your Serial Number.

  2.  This worked for me

      horizontalGauge1.Scales[0].Indicators[0].Value = 1286.607211;   horizontalGauge1.Scales[0].Indicators[0].Format.FormatType = ValueFormatType.Custom;   horizontalGauge1.Scales[0].Indicators[0].Format.FormatCustom = "#,##0.##M";   horizontalGauge1.Scales[0].Tickmarks.Format.FormatType = ValueFormatType.Custom;   horizontalGauge1.Scales[0].Tickmarks.Format.FormatCustom = "#,##0.##M";

  3. I dont have an answer to your question, but I might have a better way if all you are trying to do is export charts in higher quality. Try the following:

      int desiredDPI = 300;   Rectangle r = new Rectangle(0, 0, (chart1.Width * desiredDPI) / 96, (chart1.Height * desiredDPI) / 96);   Bitmap bmp = new Bitmap (r.Width, r.Height);   bmp.SetResolution(desiredDPI, desiredDPI);   Graphics g = Graphics .FromImage(bmp);   chart1.Paint(g, r, PaintStyles .Background | PaintStyles .Border | PaintStyles .Print);   bmp.Save(@"c:\temp\cfx.png", ImageFormat.Png);   g.Dispose();   bmp.Dispose(); 

  4.  To link every point of the chart to a JS function called myFunction, passing as parameters the Series and Point that were clicked, here is the code you need.

    Link mylink = Chart1.AllSeries.Link;mylink.Url = "Javascript:myFunction(%S,%N)";

    Note that the flags used here are the same used to create custom tooltips.  They are all listed on your API, under ToolTipFormat property of the Chart class.

    Attached is a sample that demonstrates a drilldown using links to JS functions.

  5. To take advantage of the Chart FX for WPF Beta extension one should uninstall/reinstall the product. The uninstall process is similar to any other application in Windows, it can be done through Control Panel -> Programs and Features (or "Add or Remove Programs" in earlier versions of Windows). The installer can still be downloaded from our website and you may reuse your original Serial Number . Go to http://www.softwarefx.com/SfxTrial/GetCfxBeta.asp?BetaId=17 if you need to download the installer again or if you lost your Serial Number. To make sure that your license has been extended, try creating a new project, dropping a chart on the main window and try running it. The default chart should be displayed.If you are able to create a new project that uses Chart FX but are still seeing the Expired License message on your old project, your old license might still be cached. Follow the steps bellow to refresh the license on your project.   - Remove the Chart FX dll references from the References folder on Solution Explorer.   - Remove the line on the licenses.licx file (inside the Properties folder on Solution Explorer) that mentions ChartFX.WPF.Chart.   - Create a new temporary window on your project.   - Drop a chart on your new window. That will recreate the license and dll references. You may then delete the temporary window.

×
×
  • Create New...