User (Legacy) Posted October 14, 2002 Report Share Posted October 14, 2002 Hi, I've a few questions in relation to chart object (Auto/.Net return types) which do not appear to behave and contain the same functionality as a chart generated as an image does. Initially I was using the GetHtmlData method call (for web farm deployment), but drill down and culture functionality was not working, so I created a new aspx page and used the GetHtmlTag method alternating between the Image and Auto/.Net return types accordingly (only code changes made). BTW, I'm using the latest Chart FX. Net trial version. These issues may be limitations in the trial version but not in the complete product? I read somewhere about a deployment exe that ships with the full version of Chart FX. Perhaps this is the issue ? 1) Return type as chart image: a) Culture: Setting the culture programmatically modifies numeric formats to reflect the correct thousand and decimal separators of the selected culture. System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("de-DE"); SoftwareFX.ChartFX.Internet.Server.Chart chart1 = new SoftwareFX.ChartFX.Internet.Server.Chart(this); chart1.Culture = System.Threading.Thread.CurrentThread.CurrentCulture; Drill down: Setting a drill down option to redirect to another page works, and passes the URLParamMask as indicated. chart1.URLOptions = URLFlag.Jump; chart1.URL = "http://www.hotmail.com"; chart1.URLParamMask = "MyParam=1&Series Index=%S"; 2) When the return type is either Auto or .Net: a) Culture: Same code as above: Setting the culture programmatically does not reflect the appropriate culture thousand and decimal separators in the chart object. If the machine's regional settings are modified, then the chart object does reflect these regional changes. In our app, we want to provide the users with the option of adjusting their numeric and date/time representations on screen simply by selecting from a culture list and modifying the culture programmatically, but not the actual regional settings. We will be populating charts via a dataset. I assume if the culture is set prior to binding to the dataset, the culture numeric and date representations will be displayed in the chart accordingly? Drill down: Same code as above: Setting a drill option does not redirect to another page. Selecting anywhere on the chart has no jump-to effect. Any idea why these chart object behaviours differ to a chart image? I thought it might be related to the security on the virtual folder of our app and Chart FX, but couldn't see anything. As I said, these behaviours could be a result of the trial version in use. Just one more question, is it possible to allow tool tips to be displayed and allow a drill down function on the same chart? Thanks in advance, Declan Link to comment Share on other sites More sharing options...
Software FX Posted October 15, 2002 Report Share Posted October 15, 2002 These two issues a) Culture not being saved/loaded when using active charts Drilldown not working when using GetHtmlData have been fixed, our next service pack (and any trial version) marked 6.0.1018 or later will contain the fixes, we appreciate your feedback -- Regards, JC Software FX Support "Declan O'Leary" <declanol@hotmail.com> wrote in message news:gYEJFN4cCHA.2308@webserver1.softwarefx.com... > Hi, > > > > I've a few questions in relation to chart object (Auto/.Net return types) > which do not appear to behave and contain the same functionality as a chart > generated as an image does. Initially I was using the GetHtmlData method > call (for web farm deployment), but drill down and culture functionality was > not working, so I created a new aspx page and used the GetHtmlTag method > alternating between the Image and Auto/.Net return types accordingly (only > code changes made). > > > > BTW, I'm using the latest Chart FX. Net trial version. These issues may be > limitations in the trial version but not in the complete product? I read > somewhere about a deployment exe that ships with the full version of Chart > FX. Perhaps this is the issue ? > > > > > > 1) Return type as chart image: > > > > a) Culture: Setting the culture programmatically modifies numeric formats > to reflect the correct thousand and decimal separators of the selected > culture. > > > > System.Threading.Thread.CurrentThread.CurrentCulture = new > System.Globalization.CultureInfo("de-DE"); > > > > SoftwareFX.ChartFX.Internet.Server.Chart chart1 = new > SoftwareFX.ChartFX.Internet.Server.Chart(this); > > > > chart1.Culture = System.Threading.Thread.CurrentThread.CurrentCulture; > > > > Drill down: Setting a drill down option to redirect to another page > works, and passes the URLParamMask as indicated. > > > > chart1.URLOptions = URLFlag.Jump; > > chart1.URL = "http://www.hotmail.com"; > > chart1.URLParamMask = "MyParam=1&Series Index=%S"; > > > > > > 2) When the return type is either Auto or .Net: > > > > a) Culture: Same code as above: Setting the culture programmatically does > not reflect the appropriate culture thousand and decimal separators in the > chart object. If the machine's regional settings are modified, then the > chart object does reflect these regional changes. In our app, we want to > provide the users with the option of adjusting their numeric and date/time > representations on screen simply by selecting from a culture list and > modifying the culture programmatically, but not the actual regional > settings. > > We will be populating charts via a dataset. I assume if the culture is set > prior to binding to the dataset, the culture numeric and date > representations will be displayed in the chart accordingly? > > > > Drill down: Same code as above: Setting a drill option does not redirect > to another page. Selecting anywhere on the chart has no jump-to effect. > > > > > > Any idea why these chart object behaviours differ to a chart image? I > thought it might be related to the security on the virtual folder of our app > and Chart FX, but couldn't see anything. As I said, these behaviours could > be a result of the trial version in use. > > > > > > Just one more question, is it possible to allow tool tips to be displayed > and allow a drill down function on the same chart? > > > > > > Thanks in advance, > > Declan > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.