User (Legacy) Posted September 3, 2003 Report Posted September 3, 2003 All of the documentation for the PPS extension in VB. Can you give me some sample code in C# to instantiate the PSS output writer, bind it to the chart, and anything else code-wise necassary to enable use of this extension.
Software FX Posted September 8, 2003 Report Posted September 8, 2003 Hello, The attached is a simple PSS sample. JT Tech. Support "Matt McBride" <matthew.mcbride@tfn.com> wrote in message news:qUPdmZlcDHA.3340@WEBSERVER1... > All of the documentation for the PPS extension in VB. Can you give me some > sample code in C# to instantiate the PSS output writer, bind it to the > chart, and anything else code-wise necassary to enable use of this > extension. > >
User (Legacy) Posted September 8, 2003 Author Report Posted September 8, 2003 Can you save the attachment with a differ extension the Newsreader says "it removed access to the unsafe file .aspx "SFX Tech Support" <support@softwarefx.com> wrote in message news:H6o5H3hdDHA.3640@WEBSERVER1... > Hello, > > The attached is a simple PSS sample. > > JT > Tech. Support > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > news:qUPdmZlcDHA.3340@WEBSERVER1... > > All of the documentation for the PPS extension in VB. Can you give me > some > > sample code in C# to instantiate the PSS output writer, bind it to the > > chart, and anything else code-wise necassary to enable use of this > > extension. > > > > > > >
User (Legacy) Posted September 8, 2003 Author Report Posted September 8, 2003 Never mind.. I gigured it out.. BUT with the code below.. on compile I am getting "OutputWriter does not exist namespace SoftwareFX.ChartFX.Pss" using SoftwareFX.ChartFX.Pss; SoftwareFX.ChartFX.Pss.OutputWriter pssWriter = new SoftwareFX.ChartFX.Pss.OutputWriter(); "Matt McBride" <matthew.mcbride@tfn.com> wrote in message news:vQK#kkkdDHA.3828@WEBSERVER1... > Can you save the attachment with a differ extension the Newsreader says "it > removed access to the unsafe file .aspx > > > "SFX Tech Support" <support@softwarefx.com> wrote in message > news:H6o5H3hdDHA.3640@WEBSERVER1... > > Hello, > > > > The attached is a simple PSS sample. > > > > JT > > Tech. Support > > > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > > news:qUPdmZlcDHA.3340@WEBSERVER1... > > > All of the documentation for the PPS extension in VB. Can you give me > > some > > > sample code in C# to instantiate the PSS output writer, bind it to the > > > chart, and anything else code-wise necassary to enable use of this > > > extension. > > > > > > > > > > > > > >
Software FX Posted September 8, 2003 Report Posted September 8, 2003 Did you add a reference to ChartFX.PSS.OutputWriter.dll? GA Software FX "Matt McBride" <matthew.mcbride@tfn.com> wrote in message news:A3uZ$skdDHA.3828@WEBSERVER1... > Never mind.. I gigured it out.. BUT > with the code below.. on compile I am getting "OutputWriter does not exist > namespace SoftwareFX.ChartFX.Pss" > > using SoftwareFX.ChartFX.Pss; > > SoftwareFX.ChartFX.Pss.OutputWriter pssWriter = new > SoftwareFX.ChartFX.Pss.OutputWriter(); > > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > news:vQK#kkkdDHA.3828@WEBSERVER1... > > Can you save the attachment with a differ extension the Newsreader says > "it > > removed access to the unsafe file .aspx > > > > > > "SFX Tech Support" <support@softwarefx.com> wrote in message > > news:H6o5H3hdDHA.3640@WEBSERVER1... > > > Hello, > > > > > > The attached is a simple PSS sample. > > > > > > JT > > > Tech. Support > > > > > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > > > news:qUPdmZlcDHA.3340@WEBSERVER1... > > > > All of the documentation for the PPS extension in VB. Can you give me > > > some > > > > sample code in C# to instantiate the PSS output writer, bind it to the > > > > chart, and anything else code-wise necassary to enable use of this > > > > extension. > > > > > > > > > > > > > > > > > > > > > > >
User (Legacy) Posted September 9, 2003 Author Report Posted September 9, 2003 Thanks..reference was needed.. BUT... each time I refresh the page with this sample PSS code the PNG file is still written to the temp directory for every page hit? Ithought PSS kept the chart in memory? "SoftwareFX Support" <support@softwarefx.com> wrote in message news:xWCkJMldDHA.3828@WEBSERVER1... > Did you add a reference to ChartFX.PSS.OutputWriter.dll? > > GA > Software FX > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > news:A3uZ$skdDHA.3828@WEBSERVER1... > > Never mind.. I gigured it out.. BUT > > with the code below.. on compile I am getting "OutputWriter does not exist > > namespace SoftwareFX.ChartFX.Pss" > > > > using SoftwareFX.ChartFX.Pss; > > > > SoftwareFX.ChartFX.Pss.OutputWriter pssWriter = new > > SoftwareFX.ChartFX.Pss.OutputWriter(); > > > > > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > > news:vQK#kkkdDHA.3828@WEBSERVER1... > > > Can you save the attachment with a differ extension the Newsreader says > > "it > > > removed access to the unsafe file .aspx > > > > > > > > > "SFX Tech Support" <support@softwarefx.com> wrote in message > > > news:H6o5H3hdDHA.3640@WEBSERVER1... > > > > Hello, > > > > > > > > The attached is a simple PSS sample. > > > > > > > > JT > > > > Tech. Support > > > > > > > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > > > > news:qUPdmZlcDHA.3340@WEBSERVER1... > > > > > All of the documentation for the PPS extension in VB. Can you give > me > > > > some > > > > > sample code in C# to instantiate the PSS output writer, bind it to > the > > > > > chart, and anything else code-wise necassary to enable use of this > > > > > extension. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Software FX Posted September 9, 2003 Report Posted September 9, 2003 Can you please post the complete code of a sample page using the PSS extension. I think you are missing something. Take a look at the sample JT sent you. Do you get the same behavior with this sample ? -- FP Software FX, Inc.
User (Legacy) Posted September 15, 2003 Author Report Posted September 15, 2003 Ok needed to move ChartFX.Internet.Config to my bin dir...this made JT's code sample work. BUT ..my chart still failed, after some trial and error it looks PSS has problems (download from PSS fails) with the GradientbackGround object. (1) Place this code snipet in JT's code and comment out the line GradientBackground myGradient = new GradientBackground(GradientType.Vertical); myGradient.Color[0] = Color.Blue; myGradient.Color[1] = Color.Black; myGradient.Position[0] = 0; myGradient.Position[1] = 1; Chart1.BackObject = myGradient; Chart1.InsideBackObject = myGradient; (2) Comment out the PSS enabling code Chart1.OutputWriter = pssWriter; Notice chart works fine... uncomment this PPS enabling code in Step (2) and the chart never successfully downloads from PSS (at least on my server). Please look into this for me. thanks -Matt "SoftwareFX Support" <support@softwarefx.com> wrote in message news:16Ji0wvdDHA.3828@WEBSERVER1... > Can you please post the complete code of a sample page using the PSS > extension. I think you are missing something. > > Take a look at the sample JT sent you. Do you get the same behavior with > this sample ? > > -- > FP > Software FX, Inc. > >
User (Legacy) Posted September 15, 2003 Author Report Posted September 15, 2003 To clarify last post: "comment out the line" in (1) is referring to step(2).. sorry for the confusing msg.. "Matt McBride" <matthew.mcbride@tfn.com> wrote in message news:$U$bao5eDHA.1484@WEBSERVER1... > Ok needed to move ChartFX.Internet.Config to my bin dir...this made JT's > code sample work. BUT ..my chart still failed, after some trial and error > it looks PSS has problems (download from PSS fails) with the > GradientbackGround object. > > (1) Place this code snipet in JT's code and comment out the line > GradientBackground myGradient = new > GradientBackground(GradientType.Vertical); myGradient.Color[0] = Color.Blue; > myGradient.Color[1] = Color.Black; myGradient.Position[0] = 0; > myGradient.Position[1] = 1; Chart1.BackObject = myGradient; > Chart1.InsideBackObject = myGradient; > > (2) Comment out the PSS enabling code > Chart1.OutputWriter = pssWriter; > > Notice chart works fine... uncomment this PPS enabling code in Step (2) and > the chart never successfully downloads from PSS (at least on my server). > Please look into this for me. > > thanks > -Matt > > "SoftwareFX Support" <support@softwarefx.com> wrote in message > news:16Ji0wvdDHA.3828@WEBSERVER1... > > Can you please post the complete code of a sample page using the PSS > > extension. I think you are missing something. > > > > Take a look at the sample JT sent you. Do you get the same behavior with > > this sample ? > > > > -- > > FP > > Software FX, Inc. > > > > > >
Software FX Posted September 25, 2003 Report Posted September 25, 2003 just retested JT's code along with your gradient code with our most recent build (1353) and it works fine. We recently fixed an issue related to GradientBackground serialization that will in fact affect your scenario, even though we recommend you download the most recent service pack (you may also want to make sure that the new ChartFX dlls are copied to the bin subdirectory of the PSS folder after you restart the PSS service) you could also use the following workaround replace /* myGradient.Color[0] = Color.Blue; myGradient.Color[1] = Color.Black; myGradient.Position[0] = 0; myGradient.Position[1] = 1; */ with myGradient.ColorFrom = Color.Red; myGradient.ColorTo = Color.Green; Note that the new code will achieve the same results, the serialization bug affected both the Color and Position arrays but you can use the ColorFrom and ColorTo properties if only two colors will be used. -- Regards, JC Software FX Support "Matt McBride" <matthew.mcbride@tfn.com> wrote in message news:A4ehmo7eDHA.1484@WEBSERVER1... > To clarify last post: "comment out the line" in (1) is referring to > step(2).. sorry for the confusing msg.. > > "Matt McBride" <matthew.mcbride@tfn.com> wrote in message > news:$U$bao5eDHA.1484@WEBSERVER1... > > Ok needed to move ChartFX.Internet.Config to my bin dir...this made JT's > > code sample work. BUT ..my chart still failed, after some trial and error > > it looks PSS has problems (download from PSS fails) with the > > GradientbackGround object. > > > > (1) Place this code snipet in JT's code and comment out the line > > GradientBackground myGradient = new > > GradientBackground(GradientType.Vertical); myGradient.Color[0] = > Color.Blue; > > myGradient.Color[1] = Color.Black; myGradient.Position[0] = 0; > > myGradient.Position[1] = 1; Chart1.BackObject = myGradient; > > Chart1.InsideBackObject = myGradient; > > > > (2) Comment out the PSS enabling code > > Chart1.OutputWriter = pssWriter; > > > > Notice chart works fine... uncomment this PPS enabling code in Step (2) > and > > the chart never successfully downloads from PSS (at least on my server). > > Please look into this for me. > > > > thanks > > -Matt > > > > "SoftwareFX Support" <support@softwarefx.com> wrote in message > > news:16Ji0wvdDHA.3828@WEBSERVER1... > > > Can you please post the complete code of a sample page using the PSS > > > extension. I think you are missing something. > > > > > > Take a look at the sample JT sent you. Do you get the same behavior with > > > this sample ? > > > > > > -- > > > FP > > > Software FX, Inc. > > > > > > > > > > > >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.