Jump to content
Software FX Community

AndreG

Staff
  • Posts

    333
  • Joined

  • Last visited

Posts posted by AndreG

  1. The legend box items are oredered just like the series. If you reorder the series, you will also reorder the legend box items. If you only have two series, you could just invert the whole thing to get the second series back on the bottom.

    chart1.getLegendBox().getItemAttributes().get(chart1.getSeries()).setInverted(true);

  2. Hello RetroMan,

    First of all I would like to apologize for the issues you are experiencing while using our component with the latest version of .NET. Please know that we do take these matters very seriously and with the help of Varun Gupta we were able to pin point the issue.


    As designed by Microsoft, .NET browser hosting controls are not allowed once .NET 4.5 is installed on a machine. This is done for security reasons and applies to every .NET control. Software FX has no control over the new restriction.


    Varun has pointed us to a link that explains compatibility in the .NET Framework 4.5: http://msdn.microsoft.com/en-us/library/hh367887.aspx. As you can see from the link, the previous behavior can still be obtained by modifying a key in the registry. We have tested the workaround and found it to fix the issue. Don

  3. You mentioned you wanted to clear the data on the chart, create a new dataset and then bind to it. Are you not binding new data to the chart? If you clear the data and not bind new dataset, you will see the No Data Available message.



  4. I made a sample similar to this for someone else a while
    back. Since Chart FX 7 does not support broken Y axis (Chart FX 8 will), we can
    do something similar to what was suggested on the link you posted. Have 2
    panes, 2 Y axis, and same data on both. Here is the code. Note that you can
    modify the panes sizes, proportion and such to make it more visually appealing.





      protected void
    Page_Load(object sender, EventArgs e) {



     



     
    DataTable table1 = new
    DataTable("Test");



     



     
    //Create a table with your data twice



     
    table1.Columns.Add("Value1",
    System.Type.GetType("System.Double"));



     
    table1.Columns.Add("Value2",
    System.Type.GetType("System.Double"));



     



     
    table1.Rows.Add(new object[]
    { 10, 10 });



     
    table1.Rows.Add(new object[]
    { 12, 12 });



     
    table1.Rows.Add(new object[]
    { 11, 11 });



     
    table1.Rows.Add(new object[]
    { 13, 13 });



     
    table1.Rows.Add(new object[]
    { 89, 89 });



     
    table1.Rows.Add(new object[]
    { 10, 10 });



     



     
    Chart1.DataSourceSettings.Fields.Add(new FieldMap("Value1",
    FieldUsage.Value));



     
    Chart1.DataSourceSettings.Fields.Add(new FieldMap("Value2",
    FieldUsage.Value));



     



     
    Chart1.DataSource = table1;



     



     
    Chart1.Data.Series = 2;



     



     
    //Make both series the same color



     
    Chart1.Series[1].Color = Chart1.Series[0].Color;



     
    Chart1.Series[1].AlternateColor = Chart1.Series[0].AlternateColor;



     



     
    Pane pane1 = Chart1.Panes[0];



     
    Pane pane2 = new
    Pane();



     
    Chart1.Panes.Add(pane2);



     
    Chart1.Series[0].Pane = Chart1.Panes[0];



     
    Chart1.Series[1].Pane = Chart1.Panes[1];



     



     
    pane2.AxisY.Max = 15;



     
    pane2.AxisY.Min = 0;



     
    pane1.AxisY.Max = 100;



     
    pane1.AxisY.Min = 80;



     



     
    //Hide the extra series from the legendbox



     
    Chart1.LegendBox.ItemAttributes[Chart1.Series, 1].Visible = false;



     



     
    }



  5. Hello. The product comes with plenty samples, including examples on how to pass data to the chart. Take a look at your Resource Center (under the Windows Start Menu) or at C:\Program Files (x86)\Chart FX 7\Help and Samples\Sample Applications\Web Forms  (remove the (x86) if you have a 32bit machine). Look for a sample called Passing Data.

  6. It's in the API documentation, under ValueFormat.CustomFormat Property:

    Time Parameters: Character h Display the hour as a number without leading zeros (0-11) using a 12-hour clock Character hh Display the hour as a number with leading zeros (00-11) using a 12-hour clock Character H Display the hour as a number (0-23) using a 24-hour clock. Character HH Display the hour as a number with leading zeros (00-23) using a 24-hour clock. Character m Display the minute as a number without leading zeros (0-59).Character mm Display the minute as a number with leading zeros (00-59). Character s Display the second as a number without leading zeros (0-59). Character ss Display the second as a number with leading zeros (00-59).Character t One character time-marker string, such as A or P Character tt Multicharacter time-marker string such as AM or PMFormat Display m/d/yy 12/7/58 d-MMMM-yy 7-December-58d-MMMM 7 December MMMM-yy December 58 h:mm 20:50 h:mm:ss 20:50:35 m/d/yy h:mm 12/7/58 20:50

  7. PSS is a service that runs on your server and handle the charts request. It does not work for gauges. You are responsible for deleting the images that get stored on the temp folder, periodicaly. I'm not sure why gauges works and chart does not. Maybe because PSS is not working? Can you try turning that service off and seeing what happens? :

    Troubleshooting PSS:

     http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/2/021.htm

    More about PSS:

    http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/004.htm

    Turning off PSS:

    http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/010.htm

    "The chartfx70 folder under the root was missing not IIS."  -- Not sure what you mean by this.

    Since you did not mention anything I am guess reinstall did not work?

    Are you using any form of authentication on your page? If so, there are configurations required: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/009.htm

  8. Hello Pkuehn,

    The information you got over the phone is incorrect and I apologize for that. You do qualify for phone support. Maybe you did not provide them with the correct Serial Number? The Serial Number that qualifies you for phone and web support starts with SFXPUD. If you need to be reminded of that Serial Number, please contact sales [at] softwarefx.com. Also, if you have any other questions (supported related or otherwise) please feel free to contact me directly by sending me an email (use the Contact button on the top of this post). If you ever need us for anything else I would like to make sure you are properly taken care of.

    Regards,

×
×
  • Create New...