Jump to content
Software FX Community

ExequielA

Staff
  • Posts

    19
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ExequielA

  1. Hello,

     

    Please find attached a NetBeans 7.3.1 sample project showing how to implement a multiple Y-axis chart in Chart FX 7 for Java Desktop. Note that this sample is only intended for demonstration purposes, as its main objective is to show a very basic implementation of the desired behavior. I am sure it could be improved in many ways according to your needs, but we certainly believe it can be used as a good starting point for achieving this requirement. 
     
    I hope this helps.

    CFX7JD Multiple YAxis.zip

  2. Hello, In order to achieve the behavior you are looking for, please refer to the code below: 

     

    [C#] 

    chart1.AxisX.Inverted = true;

    Please note that the RightToLeft (RTL) property is a .NET feature which indicates whether control's elements are aligned to support localization using right-to-left fonts. It is not a Chart FX feature. I hope this helps. 

  3. Hello,

    In order to achieve the behavior you are looking for, you need to pass a VARIANT object as the second parameter of the Export method. Please refer to the code below:

    [C++]
    VARIANT v;
    V_VT(&v) = VT_EMPTY;
    m_chartPtr->Export(Cfx62::FileFormat_Metafile,v);

    I hope this helps.
    • Like 1
  4. Hello yjchris.jung:

    Please note that Chart FX can only add the license information to executable assemblies. If you are wrapping the chart control, please note that the license will not be automatically embedded in your own class library (dll) and an error message ("Could not get Run Time License") will be displayed when trying to deploy to a machine without a Chart FX installation. Please take a look at the following article, which explains the available options for this scenario:

    http://support.softwarefx.com/Chart_FX_7/article/1501127

    I hope this helps.



  5. Hello Ahmed,

    In order to add the AxisX scrollbar, you have to enable
    the zoom. Please refer to the following sample code that shows how to set the
    zoom for the three first points of 20 points:



    //Set initial view from point 1 to 3

    chart1.AxisX.Zoom(1, 3);



    //Activate the initial zoom

    chart1.UpdateSizeNow();

    I hope this helps,



  6. Hello,

    In order the change the font
    size of the point labels, please refer to the code below:

    chart1.AllSeries.PointLabels.Font
    = new System.Drawing.Font("Microsoft Sans Serif", 14);
    chart1.AllSeries.PointLabels.Visible
    = true;

    Posted Image

    I hope this helps.

     

     

     

     

  7. Hi,

    Please take a look at the following code to

    export the chart to the clipboard:

    As Metafile:

    chart1.Export(FileFormat.Metafile);

    As Bitmap:

    chart1.Export(FileFormat.Bitmap);

    As Stream:

    MemoryStream ms = new MemoryStream();

    chart1.Export(FileFormat.Metafile, ms);

    ms.Seek(0, SeekOrigin.Begin);

    Bitmap bmp = new Bitmap(ms,true);

    Clipboard.SetImage((Image)bmp); 

    I hope this helps.

     

  8. Hi,

    I am afraid this behavior is not supported by Chart FX, as there is no built-in feature to rotate the title. However, if you set the title on the secondary Y-Axis, the title will be displayed from top to bottom.

    chart1.AxisY.Position = AxisPosition.Far;

    Remember that you can align the title as well. Take a look at the following code:

    chart1.AxisY.Title.Alignment = StringAlignment.Far;

    chart1.AxisY.Title.Alignment = StringAlignment.Near;

    I hope this helps.

×
×
  • Create New...