Jump to content
Software FX Community

Frank

Staff
  • Posts

    1,761
  • Joined

  • Last visited

Posts posted by Frank

  1. There are two issues here: 

    1) Your license is temporary. When you installed Chart FX you had the option of:

    a) Connecting to the internet and obtaining a license

    B) Get a challenge code and e-mail it to us to get a license

    c) Bypass temporarily.

    Seems that you chose option c) but you never obtained a valid license. You need to re-install and obtain a valid license.

    2) You are rendering the chart in the PageLoad and that is not correct. What you need to do is to create the chart in the override of CreateChildControls and add it to the Controls collection of your page (instead of calling RenderControl), this way it will enter as part of your control tree, viewstate, etc. and will be rendered at the appropriate time in the page cycle.

  2. Did you check the "Passing Data" sample application included with the product? Ut can be accessed from the Resource Center.

    I extracted the relevant code from this sample:

    /* This function populates the chart using the API. First, you must specify the number of series and points

    * and then pass the data. In this case we're passing random data. You can also use this method to pass X values,

    * for which you will use chart1.Data.X[series, point] and chart1.Data.Y[series, point], instead of

    * chart1.Data[series, point], which is simply to pass Y data.

    */

    chart1.Data.Series = 2;

    chart1.Data.Points = 15;

    for (int series = 0; series < chart1.Data.Series; series++)    for (int point = 0; point < chart1.Data.Points; point++)

      chart1.Data[series, point] = r.NextDouble() * 100;

     You can set X values in a similar way by doing:

      chart1.Data.X[series, point] = r.NextDouble() * 100;

  3. <img id="_ctl1" src="/chartfx70/pss/ChartFX.aspx?id=0-090411190&type=png&mime=image%2fpng"  WIDTH="888" HEIGHT="300"  usemap="#_ctl1Map" border="0"/>

     Is the right output.

    It seems you got some error from PSS. Check your event log for errors from PSS.

    Also check the following KB articles:

    Q7622021. Troubleshooting the PSS Service URL: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/2/021.htm?_r=1

    Q7621004. The Chart FX PSS Service in a nutshell URL: http://support.softwarefx.com/Article.aspx?KBID=7621004&Product=CfxNet70&Embed=0&_r=1

     

  4. I am unable to reproduce the problem using the latest HotFix.

    Either I am not doing the sequence right, in which case I would need more instructions and what to do to reproduce the problem, or you are using an older version and the problem has been corrected. You are using the latest service pack (7.0.2893) so it is most likely it is the former. To make sure please contact Software FX support to obtain the latest Hotfix.

  5. You can follow the same procedure for importing from Binary files and from Streams instead of files.

    SoftwareFX.ChartFX.Chart chartOld = new SoftwareFX.ChartFX.Chart();

    chartOld.Import(SoftwareFX.ChartFX.FileFormat.Binary,inputStream);

    ChartFX.WinForms.Wrapper.Exporting.Exporter exporter = new ChartFX.WinForms.Wrapper.Exporting.Exporter(chartOld);

    exporter.ExportChart(chartNew); // chartNew is a Chart FX 7.0 chart where the file contents will be loaded.

     

  6. Two things:

    1) ToolBar commands are NOT sent back to the server when using the .NET Client Control. The UserCommand event is fired in the client and can be captured using JavaScript. You can then post a call back to the server by either doing a postback or an AJAX call.

    Check out the following KB articles for details about capturing events in the client and sending AJAX callbacks to the server:

    Q6141001. Security settings required by the .NET client control

    URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/614/1/001.htm?_r=1

    Q7651001. Chart FX for VS 2005 and AJAX

    URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/765/1/001.htm?_r=1

    2) When rendering a custom command as an image, you need to provide an image file for your command and place it under: /yourapplication//UserCommands/<your command id>.png.

  7. Chart FX 6.2 files are not compatible with Chart FX 7.0. You need to convert them.

    You can not import a 6.2 XML or Binary files using just the wrapper. What you need to do is use the Exporter assembly (ChartFX.WebForms.Wrapper.Exporter.dll) as follows:

    SoftwareFX.ChartFX.Chart chartOld = new SoftwareFX.ChartFX.Chart();

    chartOld.Import(SoftwareFX.ChartFX.

    FileFormat.XML,"fileName");ChartFX.WinForms.Wrapper.Exporting.Exporter exporter = new ChartFX.WinForms.Wrapper.Exporting.Exporter(chartOld);

    exporter.ExportChart(chartNew); // chartNew is a Chart FX 7.0 chart where the file contents will be loaded.

    You can also convert all your old XML/Binary files to Chart FX 7.0 format using a command-line tool provided with Chart FX 7.0:

    C:/>chartfx.winforms.exporter /xml inputFile outputFile

  8. This code doesn't show how the chart is being rendered. Is the chart control being added to the Controls collection in the page? if so, where is this being done. Adding the control too late in the page cycle may cause this problem. Controls should be added on CreateChildControls.

    Please include the code for the whole page.

    As for accessing ImageSettings, the wrapper object gives you access to the underlying Chart FX 7 object through the ChartFX7Object property, so you can do:

    InvChart.ChartFX7Object.ImageSettings.Interactive = false;

    post-5246-13922406332958_thumb.jpg

  9. What you are seeing is some HTML elements that are part of the AJAX UI but should be hidden from view.

    Looks like the styles includded to make these elements not vissible is missing from your page. This AJAX functionality is new in Chart FX 7.

    My gues as to why this is happening is that you are rendering the chart incorrectly. Do you have it at design-time inside the form or are you manually rendering it?

    You can dissable all AJAX functionality by doing:

     chart.ImageSettings.Interactive = false;

×
×
  • Create New...