User (Legacy) Posted September 9, 2005 Report Share Posted September 9, 2005 i use an image as output but my legend does not show when using chartf financial extension graf.SerLegBox = true; grafi.SerLegBoxObj.DrawingArea = true; grafi.SerLegBoxObj.Alignment = ToolAlignment.Near; grafi.SerLegBoxObj.Docked = Docked.Bottom; grafi.SerLegBoxObj.Visible=true; grafi.Series[0].Legend = "Product 1"; grafi.Series[1].Legend = "Product 2"; Or is legend not possible with an image output? Link to comment Share on other sites More sharing options...
Software FX Posted September 9, 2005 Report Share Posted September 9, 2005 The SerLegBox is turned off when the Analytical Gallery of the Financial Extension is activated. Why? The Financial Extension uses a much more powerful legend tool and adds everything to the UserLegendBox. I think what you want is to turn that on. Furthermore, setting the series[0].Legend property is not desired as how do you know really which Series you are setting? The desired way to do this is like this: analytical1.ClosePriceSeries.Legend = "Product1"; OR study.Series[0].Legend = "Study 1"; I hope this clarifies matters. -c "Edwin" <info@ibrain.nl> wrote in message news:u17cfpVtFHA.1724@webserver3.softwarefx.com... >i use an image as output but my legend does not show when using chartf >financial extension > graf.SerLegBox = true; > grafi.SerLegBoxObj.DrawingArea = true; > grafi.SerLegBoxObj.Alignment = ToolAlignment.Near; > grafi.SerLegBoxObj.Docked = Docked.Bottom; > grafi.SerLegBoxObj.Visible=true; > grafi.Series[0].Legend = "Product 1"; > grafi.Series[1].Legend = "Product 2"; > > Or is legend not possible with an image output? > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 11, 2005 Author Report Share Posted September 11, 2005 Thanks for your help, that was what I was looking for! "Software FX Support" <support@softwarefx.com> wrote in message news:$OP%23kVYtFHA.1724@webserver3.softwarefx.com... > The SerLegBox is turned off when the Analytical Gallery of the Financial > Extension is activated. > Why? > The Financial Extension uses a much more powerful legend tool and adds > everything to the UserLegendBox. > I think what you want is to turn that on. > Furthermore, setting the series[0].Legend property is not desired as how > do you know really which Series you are setting? > The desired way to do this is like this: > analytical1.ClosePriceSeries.Legend = "Product1"; > > OR > study.Series[0].Legend = "Study 1"; > > I hope this clarifies matters. > -c > > "Edwin" <info@ibrain.nl> wrote in message > news:u17cfpVtFHA.1724@webserver3.softwarefx.com... >>i use an image as output but my legend does not show when using chartf >>financial extension >> graf.SerLegBox = true; >> grafi.SerLegBoxObj.DrawingArea = true; >> grafi.SerLegBoxObj.Alignment = ToolAlignment.Near; >> grafi.SerLegBoxObj.Docked = Docked.Bottom; >> grafi.SerLegBoxObj.Visible=true; >> grafi.Series[0].Legend = "Product 1"; >> grafi.Series[1].Legend = "Product 2"; >> >> Or is legend not possible with an image output? >> >> >> > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.