User (Legacy) Posted September 19, 2002 Report Share Posted September 19, 2002 I tried this chart.ConstantLine(1).Style = chart.ConstantLine(1).Style Or CC_RIGHTALIGNED but it dosen't seem to be aliging it to the right. This is my code chart.OpenDataEx COD_CONSTANTS,2,0 chart.ConstantLine(0).Axis = AXIS_Y chart.ConstantLine(0).Label = lang_this_year_baseline chart.ConstantLine(0).Value = total_this_cac chart.ConstantLine(1).Axis = AXIS_Y chart.ConstantLine(1).Label = lang_last_year_baseline chart.ConstantLine(1).Style = chart.ConstantLine(1).Style Or CC_RIGHTALIGNED chart.ConstantLine(1).Value = total_last_cac chart.CloseData COD_CONSTANTS Is there something I'm missing. -Peter Link to comment Share on other sites More sharing options...
Software FX Posted September 19, 2002 Report Share Posted September 19, 2002 CC_RIGHTALIGNED is defined in a different include file (for performance reasons) so you will have to add the following to your ASP page <!-- #include virtual="/Include/CfxIEExtra.inc" --> -- Regards, JC Software FX Support "Peter" <plee@doubleclick.net> wrote in message news:f5l2xrBYCHA.3136@webserver1.softwarefx.com... > I tried this chart.ConstantLine(1).Style = chart.ConstantLine(1).Style Or > CC_RIGHTALIGNED but it dosen't seem to be aliging it to the right. > > This is my code > chart.OpenDataEx COD_CONSTANTS,2,0 > chart.ConstantLine(0).Axis = AXIS_Y > chart.ConstantLine(0).Label = lang_this_year_baseline > chart.ConstantLine(0).Value = total_this_cac > > chart.ConstantLine(1).Axis = AXIS_Y > chart.ConstantLine(1).Label = lang_last_year_baseline > chart.ConstantLine(1).Style = chart.ConstantLine(1).Style Or > CC_RIGHTALIGNED > chart.ConstantLine(1).Value = total_last_cac > chart.CloseData COD_CONSTANTS > > Is there something I'm missing. > > -Peter > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.