User (Legacy) Posted June 24, 2005 Author Report Share Posted June 24, 2005 Hello, I am converting from ChartFX 5.5 to ChartFX 6.2. In our 5.5 implementation, we read a chart template file (.CHT). I have converted those over manually to CHW files by recreating them in the Chart Designer tool. I am unable to successfully import the template file with the Import method. Also, I am trying to use the GetHTMLTag command to produce the HTML to reference the ChartFX client side ActiveX object with no luck. Does this still work in 6.2? I am using VB6.0 w/SP5 on a Windows XP SP2 machine. Thank you, Jeff Sanders Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 24, 2005 Report Share Posted June 24, 2005 Hello, I am converting from ChartFX 5.5 to ChartFX 6.2. In our 5.5 implementation, we read a chart template file (.CHT). I have converted those over manually to CHW files by recreating them in the Chart Designer tool. I am unable to successfully import the template file with the Import method. Also, I am trying to use the GetHTMLTag command to produce the HTML to reference the ChartFX client side ActiveX object with no luck. Does this still work in 6.2? I am using VB6.0 w/SP5 on a Windows XP SP2 machine. Thank you, Jeff Sanders Link to comment Share on other sites More sharing options...
Software FX Posted June 30, 2005 Report Share Posted June 30, 2005 Can you please attach one of the templates you are trying to import along with the VB6 code you are using to import it? About GetHtmlTag ... GetHtmlTag cannot be used from a C++ (or VB) app, it is meant to be used only from an ASP page. There are some assumptions in this method, that will for example send the imgmap (if required) directly to the ASP.Response object. You can use the GetHtmlDataEx method that has the following signature GetHtmlDataEx (VARIANT vWidth,VARIANT vHeight,VARIANT vTag,VARIANT vData,VARIANT *pvMap,VARIANT *pvHtmlOutput) The first 3 parameters are identical to the ones in GetHtmlTag. vData allows you to specify the target location for the output (image, svg, etc.). As of today it supports BSTR that represents the path of the file to be generated. pvMap will contain the img map (only for image output when URLs are assigned). pvHtmlOutput will contain the tag required to display the element. E.g. "<img src="." >" Regards, JC Software FX Support "Jeff Sanders" <jsanders@execusys.com> wrote in message news:kG1cMVNeFHA.3436@webserver3.softwarefx.com... > Hello, > > I am converting from ChartFX 5.5 to ChartFX 6.2. > > In our 5.5 implementation, we read a chart template file (.CHT). I have > converted those over manually to CHW files by recreating them in the Chart > Designer tool. I am unable to successfully import the template file with > the Import method. > > Also, I am trying to use the GetHTMLTag command to produce the HTML to > reference the ChartFX client side ActiveX object with no luck. Does this > still work in 6.2? > > I am using VB6.0 w/SP5 on a Windows XP SP2 machine. > > Thank you, > Jeff Sanders > Link to comment Share on other sites More sharing options...
Software FX Posted June 30, 2005 Report Share Posted June 30, 2005 Can you please attach one of the templates you are trying to import along with the VB6 code you are using to import it? About GetHtmlTag ... GetHtmlTag cannot be used from a C++ (or VB) app, it is meant to be used only from an ASP page. There are some assumptions in this method, that will for example send the imgmap (if required) directly to the ASP.Response object. You can use the GetHtmlDataEx method that has the following signature GetHtmlDataEx (VARIANT vWidth,VARIANT vHeight,VARIANT vTag,VARIANT vData,VARIANT *pvMap,VARIANT *pvHtmlOutput) The first 3 parameters are identical to the ones in GetHtmlTag. vData allows you to specify the target location for the output (image, svg, etc.). As of today it supports BSTR that represents the path of the file to be generated. pvMap will contain the img map (only for image output when URLs are assigned). pvHtmlOutput will contain the tag required to display the element. E.g. "<img src="." >" Regards, JC Software FX Support "Jeff Sanders" <jsanders@execusys.com> wrote in message news:kG1cMVNeFHA.3436@webserver3.softwarefx.com... > Hello, > > I am converting from ChartFX 5.5 to ChartFX 6.2. > > In our 5.5 implementation, we read a chart template file (.CHT). I have > converted those over manually to CHW files by recreating them in the Chart > Designer tool. I am unable to successfully import the template file with > the Import method. > > Also, I am trying to use the GetHTMLTag command to produce the HTML to > reference the ChartFX client side ActiveX object with no luck. Does this > still work in 6.2? > > I am using VB6.0 w/SP5 on a Windows XP SP2 machine. > > Thank you, > Jeff Sanders > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.