Jump to content
Software FX Community

jstasz

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by jstasz

  1. I want to change the default font size on y axis labels.  I can do this by setting the properties on the chart in designer.

    However since my code does a chart.reset the font changes are "lost"

     If I don't do the chart.reset, then when the selection critieria is changed via the form the data does not appear properly. (two sets of y axis labels etc)

     How can I change the font size in my code?

  2. The LimitLeft and LimitRight still are not doing exactly what I am looking for.

     I am trying to draw the lines at a fixed position on the x axis regardless of the number of "bars" in the histogram.

     It appears that that the LimitLeft and LimitRight lines are drawn based on the position of the "bars" on the histogram.  If I set the LimitLeft to 7 and the LimitRight to 10 then I get the lines following the 7th "bar" and the 10th "bar". Is this the expected behavior.?

     Is there a way to draw the lines at a fixed point on the access?

    Thanks

    Joyce

     

  3.  

    I am trying to generate some histogram charts and set the USL and LSL programatically.

    Per the sample code I tried setting the values for: statistics.calculators(0).lsl  and staatistics.calculators(0).usl and set thg gallery.histogram.showlimits = true. 

    There is no affect on the placement of the vertical limit lines regardless what value I set the lsl and usl to. 

    To be honest I don't understand the statistics, but per help and the samples I think this is what should work.  Can someone tell me what I am doing wrong?

    Thanks

    Joyce

  4. 'System.ComponentModel.LicenseException'

    I am using ChartFx for VS 2005, with the statistical extensions.  I have created my application with 6 simple charts, 3 histogams and 3 trends.  It works fine on my development PC.  When I deploy to the Web server I get the above error. 

    I have installed the service pack and the statistical packages on the Web Server.  I also re-deployed the application after the installation.  I still get this licensing error.

     Can someone tell me what I am doing wrong?

     Thanks

    Joyce

     

     

  5.  

    I was able to set the conditions and get the bars in the chart to "color" as I want. 

     The issue I have now is with the legend box.  I am changing the color of Series 2, but the legend box shows the default color, not the actual color of the bar.  Is there a way to associate the color code for the legend box series 2 item with the condition?

     Thanks

     

    Joyce

  6. I guess I spoke too soon. The CrossTabProvider.RowHeadingSettings = RowHeadingSettings.CompressedXValues shifts all the values to the left.

    The labels came out ok on the x axis, but the stacked bars actually contain data from "two dates".  The series are compressed independantly.  So the first stacked bar contains the first day of Rail shipments stacked on Top the first day of truck shipments, even though they are not for the same calendar day!

     

    I think I have figured out the "color" issue.  I am checking the chart.series.item(0).text  and setting the colors accordingly.  This appears to work so far.

     Joyce

  7. Thanks, that worked

     I have another related question.  Is there anyway to assign a color to the series.

     I have tried the chart.series.item(0).color, but this doesn't do exactaly what I need.

     It appears that ChartFx assigns the first color to which ever series/column data it finds first.  We have two companies at our site.  So I am producing two charts.  I would like to make sure that "truck" is always blue and "rail" is always red. With the charts on the same page it is deceiving when one has mostly red bars and the other mostly blue, yet both mean truck shipments!

     Is there any way to tie the color to the data in the series and not just the series.item?

     

    Thanks again

    Joyce

  8. I am creating a stacked bar chart (vertical bars), using a cross tab data provider.

    <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    I am charting number of shipments per day, by truck or by rail.

     

    The x axis is the date and the y axis it the number of shipments.

     

    The chart itself is fine but the x axis labels are behaving

  9. I have figured out how to do a basic chart with the crosstab provider.

    Two questions.

    I am trying to represent total rejected tons and then within the total split the bar based on the type of material (there are only two types).  I can get the chart to show two separate bars per reject category (row) but would prefer to show 1 bar.  It looks like this should be possible with the "stacked" chart but I haven't figured it out yet.

    Also I would like to limit the number of rows / bars to the top 10, based on the total tons rejected, is this possible.

    Hopefully someone can help since I am still learning!!

    Thanks

     Joyce

  10. I am a new user of ChartFx. 

    I need to use the crosstab data provider, but it does not seem to be available in my installation. 

    I am using visual studio 2005, visual basic.  I have ChartFX version 7.0.2893.24916.  I looked at the Passing Data sample code.  When I try to add the ccrosstab data provider to my application it isn't available/recognized.  I have the following import statements in my code:

    Imports

    ChartFX.WebForms

    Imports

    ChartFX.WebForms.DataProviders

    Also the sample code programs will not compile for me.  This seemed to happen after the installation of the Service Pack

    Can anyone help?

     

    Thanks

    Joyce

×
×
  • Create New...