Jump to content
Software FX Community

Frank

Staff
  • Posts

    1,761
  • Joined

  • Last visited

Posts posted by Frank

  1. 1) There should only one definition for SFX_SendUserCallback

    2) SFX_SendUserCallback is asynchronous and you cannot make a second call untill the first one is completed. If you need to make two calles you have to "chain them", that is to set it up so that the second call gets initiated AFTER the first call returns from the server. For example:

    SFX_onCallbackReadyDelegate = function (context, result)  {

      SFX_processing = false;

      SFX_SendUserCallback ('chart1',...); // Call the second time (for chart2) AFTER the first call is done.

    };

    SFX_SendUserCallback ('chart1',...);

     

  2. No. No unmanaged DLL works on both 32-Bit and 32-Bits. We have 32-Bit and 64-Bit versions of Chart FX 6.2 that share the same codebase. So you can use each one on each environment.

    More information here:

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/13f991a5-45eb-496c-8618-2179c3753bb0.mspx?mfr=true 

    "On 64-bit Windows, 32-bit processes cannot load 64-bit DLLs, and 64-bit processes cannot load 32-bit DLLs. If you plan to run 32-bit applications on 64-bit Windows, you must configure IIS to create 32-bit worker processes"

  3. I think the best way to do this is to create an additional data series of type Gallery.Scatter:

    chart.Series[x].Gallery = Gallery.Scatter;

    In this series you can assign a picture to the marker as follows:

    chart.Series[x].MarkerShape = MarkerShape.Picture;

    chart.Series[x].Picture = imageToDisplay;

    If you have different images for different points, you can do something similar with the Point dictionary:

    chart.Point[x,i].Picture = imageToDisplay;

    For those points you don't want any image you can simply assign Chart.Hidden to their value.

  4. I think you are misinterpreting the meaning of AxisStyles.AutoFirstLabel.

    When AxisStyles.AutoFirstLabel is ON, it will adjust the first label so that it is a "round" number.

    In the case of Dates, this means to adjust to the nearest "beginning of interval". For example, if there is one label per month, the first label will show at the last day of the first month of data.

    In your case, labels are being displayed per week, so leaving AxisStyles.AutoFirstLabel ON (default) should display the first label on the first Sunday. Turning it OFF will display the fist label for the first point in the data.

    For this specific data, what would you like to be displayed as the first label?

×
×
  • Create New...