Options

myGraph v1.1 (+ sources)

Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
edited 2012-11-16 in Download section
The myGraph.ocx transforms Navision data into a graph (3d, 2d, line, bar, area) using MSChart. Therefore, the file mschrt20.ocx must be available on your system (usually in \windows\system or \winnt\system32 directory). Due to possible copyrights, this file is not included in this release.

This file is available in the download-section.


[This message has been edited by Luc Van Dyck (edited 26-06-2000).]
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
«1

Comments

  • Options
    Andreas_LundinAndreas_Lundin Member Posts: 91
    Hi Luc

    I have downloaded your MyChart ocx, and it seeems to have many nice features. I think it will be very useful for a lot of people.

    I have some suggestions/questions on how to improve your ocx:

    1. Do you have any plans on supplying a print facility?
    2. The axis text is not very readable when using the 3D chart types.

    Just some small comments.

    Regards
    Andreas L.
  • Options
    RaulRaul Member Posts: 14
    Hi both,

    So, you have made two different tools?

    I've checked 'mychart' and it works pretty pretty fine,
    I'll try to post you all the improvements that I'll see.
    It was an easy way to develop it, wasn't it?

    It does not mean that we wouldn't be really grateful to
    enjoy the Andreas work. <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" />

    Thanks a million, Both.
  • Options
    Andreas_LundinAndreas_Lundin Member Posts: 91
    Hi guys

    I have just sent my charting tool for Luc to upload. So it will be available sometime within the next days.

    Remember that this is only the first beta-relase, and I'm already working on an enhanced release to be finished sometime next week.

    All suggestions and comments are appreciated <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" />

    Regards
    Andreas L.
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andreas Lundin:
    Hi guys

    I have just sent my charting tool for Luc to upload. So it will be available sometime within the next days.
    <HR></BLOCKQUOTE>

    The file is available in the download-section.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    HalHal Member Posts: 18
    Hi Luc !

    Nice job ! It's just what i want to do with OCX and MS-Chart. Thanks !

    Just the same remarks :
    - a printing tool
    - axies titles are not very readable
    - do you have some help files about all the properties of this tools ?

    Regard,

  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,496
    myGraph v1.1
    Displays all kind of graphs (3d, 2d, bar, line, area) in Navision Financials. This OCX uses MSChart (mschrt20.ocx NOT included).

    New in version 1.1: Now it's possible to print a graph, or save it as bmp

    http://www.mibuso.com/dlinfo.asp?FileID=146

    Discuss this download here.
  • Options
    SavatageSavatage Member Posts: 7,142
  • Options
    chris175chris175 Member Posts: 1
    I have worked with the MSChart control for some time now and am very experienced with its functionality.

    1. Have you been able to use the MSChart Create function. I try to use the following but keep getting an error....
    CMSChart MSChart;
    MSChart.Create("MSChart",WS_CHILD,rectPage,m_pMSChart->GetParent(),10);

    error C2668: 'Create' : ambiguous call to overloaded function

    2. Have you been able to save an MSChart control into a pdf?

    3. Have you found a really good font to use in 3D graphs?

    4. Have you been able to set custom datapoints labels ontop the bar graphs? I have done this with only 2D-Bar graphs after creating another class to do this for me. I was just wondering if you had a different solution.
    Chris
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    I haven't used the MSChart control since I developed the myGraph ocx, back in 2000 & 2002. But I'm sure other forum members are more experienced.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    riteshrahulriteshrahul Member Posts: 15
    Hi,

    This is ritesh. I have downloaded the My Graph and followed the instructions given in readme file. I registered the OCX and DLL successfully and also imported the object successfully.

    When I run My Graph Demo 1.1, click on Graph, the application shows error message :

    COULD NOT CREATE AN INSTANCE OF THE OLE CONTROL OR AUTOMATION SERVER IDENTIFIED BY GUID={EFC58D3A-81CB-4702-BFDA-277EC953A73C}. CHECK THAT THE OLE CONTROL OR AUTOMATION SERVER IS CORRECTLY INSTALLED OR REGISTERED.

    Please guide if I missed anything or if i have to install some application. I am using Navision 4.0 SP1.

    Regards,

    Ritesh
  • Options
    bijaljambusariabijaljambusaria Member Posts: 46
    I am getting the same error as Ritesh ](*,) [-o<
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Check if the global variable "myGraph" is pointing to the correct OCX.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    bijaljambusariabijaljambusaria Member Posts: 46
    In my case it is showing "unknown OLE control"... What should I do? To which OCX should it point?
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    It should point to myGraph.Chart.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    bijaljambusariabijaljambusaria Member Posts: 46
    It should point to myGraph.Chart.

    I dont see it in the list of OLE control. What should I do?
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Register the ocx with regsvr32.exe.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    bijaljambusariabijaljambusaria Member Posts: 46
    Register the ocx with regsvr32.exe.

    From where do i get regsvr32.exe?
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Please read the readme.txt file which is included in the download.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    bijaljambusariabijaljambusaria Member Posts: 46
    Dear Luc,

    I have registered the ocx in system32 folder as well as have copied requried dll but it is still showing the error. What could be the reason?
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    I don't know. After I do "regsvr32.exe mygraph.ocx" on my machine, I'm able to pick the right "myGraph.Chart" SubType from the Custom Control window.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    tomcat1tomcat1 Member Posts: 3
    I use myGraph in a lot of applications in Navision (Version 2.6 and 3.7)
    It runs very well.

    As I'm A Navision Programmer but do not have experience in OCX programming, I need support how to display my graph in a subform.

    Is it possible to add a function in the mygragh Object to save the file outomatically during display and use the AdvancedImmage Function to display it in a Subform?

    Thanks for replay
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    In order to save the image to bmp, it needs to be displayed first. I haven't figured out how to save the chart to a file, without displaying it.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    tomcat1tomcat1 Member Posts: 3
    Is it possible to display the myGraph using the tool 'Draw External Control' from André Fidalgo.
    When the answere is Yes: What I have to do?
  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    His code is based on .NET C++, mine is based on good old VB 6.0. They don't match, so you won't be able to use my component in his framework.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    jngermanyjngermany Member Posts: 14
    Hello,

    when I select the charttypes 2dpie or 2dxy I get the error "invalid property value". Could you tell me why?

    Is there a possibility to define the chart window position?


    Thanks a lot
    Jens
  • Options
    ARBVinothARBVinoth Member Posts: 2
    The MSCHART works fine. Thankyou all.

    But i need to filter the chart data as per the selected Column Label.
    Assume the for each user 3 properties are mapped to the chart, and if i click the 1st property legend the chart should filter in such that it displays only the 1st parameter for all the user.


    Is it possibe script code on the column Lable or Legends?


    Thankyou all.
  • Options
    ARBVinothARBVinoth Member Posts: 2
    mygraph chartdata is of type variant. Can anyone say the user of it with the example???.

    What is the main difference beetween mygraph data and mygraph chartdata??


    Thanks....
  • Options
    GRUBBYFANSGRUBBYFANS Member Posts: 154
    Very Good!!!

    Luc Van Dyck

    Thank you!!!!
    =D> =D> =D>
  • Options
    gerdhuebnergerdhuebner Member Posts: 155
    edited 2012-11-06
    Is it possible to do a variable scaling of the (vertical) axis? At the moment the scaling seems to be done automatically from zero to the highest data value. This is laborious, if one has data in the range from 3.050 to 3.099, e.g.
  • Options
    SeppoSeppo Member Posts: 3
    Is it possible to publish the source code for myGraph.ocx?
    His code is based on .NET C++, mine is based on good old VB 6.0. They don't match, so you won't be able to use my component in his framework.
Sign In or Register to comment.