Jump to content
Software FX Community

CarlosAC

Members
  • Posts

    204
  • Joined

  • Last visited

Posts posted by CarlosAC

  1. Hi leroy2611

    This is not a common problem and we will need to replicate it on our side. Could you please send us an email to support at softwarefx dot com and provide us with the simplest form of the code (small compilable sample) that reproduces the problem? Since other lines of code could be causing the problem, please isolate the sample including only the code that replicates the issue in question. Please remove the extra-code that is not related to Chart FX so we can focus on the problem itself.

    Also, please include your product serial number. So, we can properly track your issue.

    Regards,

    Carlos Chaves

  2. Hi eromurugan

    In order to help you I need to see exactly what is the behavior with the first binding, and then compare it with the second binding. Please contact Software FX Support at support[at]softwarefx[dot]com with a small repro case of this issue. Also, attach a couple of images describing the facts you are seeing.

    Please remember to include the serial number of your product as well.

    Carlos Chaves

  3. Hi rahui

    Chart FX manage the Dates as doubles in the Axis, you can convert any Date into a double. Please check the following code:

    DateTime dateTime = DateTime.Today

    double yourValue = dateTime.ToOADate();

    you will get the double value for the dateTime variable. Use this in order to locate the annotation picture you want to use.

    Carlos Chaves

  4. Hi eromurugan

    If you want to clear the datasource, you can use the following code:

    Chart1.Data.Clear();

    Also, if you previously add some FieldMaps, you should clear that Collection too and, if you want, add some new FieldMaps. In order to clear the FieldMaps Collection, please use the following code:

    chart1.DataSourceSettings.Fields.Clear();

    Carlos Chaves

  5. Hi superqd

    You are trying to set the following

    chart1.DataSourceSettings.Fields.Add(new FieldMap("time", FieldUsage.XValue));

    and this is not compatible with bar gallery, Bar gallery is not an X-Y chart. 

    If you want to set date or times in the X-Axis labels (using Bar gallery), you should set the labels manually:

    chart1.AxisX.Labels[0] = "Your text";

    Carlos Chaves

     

  6. Hi Kenia

    I have created a simple Project, using Visual Studio 2008 and C# (I am attaching it as a zip file).  Also, I have created a simple table with only 2 rows, in order to demonstrate the selection of the data based on the databinding from a ComboBox.

    Following, you will find the script for the datatable creation and data insertion:

    create table KeniaTest(   id   numeric,   firstName nvarchar(20),   lastName   nvarchar(20),   country nvarchar(20),)

    insert into KeniaTestvalues(1, 'Kenia', 'Aleman-Osorio', 'USA')

    insert into KeniaTestvalues(2, 'Carlos', 'Chaves', 'Costa Rica')

    Please create this datatable in your database and try the sample project I am attaching.

    Carlos Chaves

     

  7. Hi Sana

    Unfortunately, the scroll event is slower when you use WebForms.  Can you use .NET render format? It speed up a little bit the zooming functionality.

    Also, the 'next page' and the yellow coloured box are by design.  It appears when you render the Chart as a

  8. Hi piiguu

    ChartFX.WinForms.Exporter.exe is a tool that allows you to wrap the files exported using Chart FX 6.2 for .NET and automatically convert them into importable files using Chart FX 7 for .NET.

    Unfortunately, there is no any tool that allows you to convert from Chart FX Client Sever 5.1 to any other Chart FX product.

    Take into consideration that you are using a very old product, and additionally, you are trying to migrate exported files from a COM product to a .NET technology.

    Carlos Chaves.

     

  9. Hi het_hs

    This is not a common use of our component.  So, there is not a property that hides the chart and leave the entire space to the Data Grid.

    As a workaround, you can change the PlotAreaMargin and thus, "hide" the chart. i.e.

    chart1.PlotAreaMargin.Bottom = 300;

    The Data Grid will continue having the same size, so, you will lose most of the Chart FX object space.  As I mentioned, this is only a workaround.

    Carlos Chaves.

     

  10. Hi octa

    Do you mean an Axis Title?  If so, please use the following code:

    chart1.AxisX.Title = new Title("Your description");

    chart1.AxisY.Title = new Title("Your description");

    Otherwise, please elaborate a little bit more on your question.

    Carlos Chaves.

  11. Hi piiguu

    Chart FX does not provide any event you can use to disable the scrolling on the data grid.

    Regarding the hedears, the datagrid does not have multi-line header capabilities. However, please note that if for some reason you do not want to show the headers, you can hide them by adding the following line:

    chart1.DataGrid.ShowHeader = false;

    Carlos Chaves

×
×
  • Create New...