Tags: axis, database, maximum, microsoft, minimum, mysql, oracle, programatically, reporting, server, services, setting, sql, values, x-axis

How can I programatically set the minimum and maximum x axis values?

On Database » Microsoft SQL Server

3,757 words with 3 Comments; publish: Sun, 01 Jun 2008 21:54:00 GMT; (250109.38, « »)

I am using reporting services 2000 and would like to know if there is

a way of programatically setting the x-axis minimum and maximum

values.

The Minimum and Maximum Scale X axis textboxes do not have an "fx"

next to them, so I cannot set an expression for them. Can it be done

at all?

All Comments

Leave a comment...

  • 3 Comments
    • On Jun 3, 8:39 am, nicko <nickos....sqlserver.questionfor.info.hotmail.com> wrote:

      > I am using reporting services 2000 and would like to know if there is

      > a way of programatically setting the x-axis minimum and maximum

      > values.

      > The Minimum and Maximum Scale X axis textboxes do not have an "fx"

      > next to them, so I cannot set an expression for them. Can it be done

      > at all?

      If I'm understanding you correctly, you will most likely need to

      create the RDL file programmatically via a custom ASP.NET application.

      Sorry that I could not be of greater assistance.

      Regards,

      Enrique Martinez

      Sr. Software Consultant

      #1; Sun, 01 Jun 2008 21:55:00 GMT
    • On Jun 4, 11:22 am, EMartinez <emartinez....sqlserver.questionfor.info.gmail.com> wrote:

      > On Jun 3, 8:39 am, nicko <nickos....sqlserver.questionfor.info.hotmail.com> wrote:

      > > I am using reporting services 2000 and would like to know if there is

      > > a way of programatically setting the x-axis minimum and maximum

      > > values.

      > > The Minimum and Maximum Scale X axis textboxes do not have an "fx"

      > > next to them, so I cannot set an expression for them. Can it be done

      > > at all?

      > If I'm understanding you correctly, you will most likely need to

      > create the RDL file programmatically via a custom ASP.NET application.

      > Sorry that I could not be of greater assistance.

      > Regards,

      > Enrique Martinez

      > Sr. Software Consultant

      Thanks Enrique.

      I will be creating this report via an asp.net web application.

      Does anyone know how to do this programatically? Do I create the rdl

      file and then just edit the xml <min>0</min> and <max></max> values or

      is there a different way to do this? Can someone point me to an

      example of this...?

      #2; Sun, 01 Jun 2008 21:56:00 GMT
    • You can load the RDL up as an XML document object. Then you use

      SelectSingleNode on the document to get a reference to the appropriate node,

      and change its value. If you have trouble designing the XPath expression to

      feed SelectSingleNode, just ask...

      >L<

      "nicko" <nickostle.sqlserver.questionfor.info.hotmail.com> wrote in message

      news:1180923958.337003.322260.sqlserver.questionfor.info.x35g2000prf.googlegroups.com...

      > On Jun 4, 11:22 am, EMartinez <emartinez....sqlserver.questionfor.info.gmail.com> wrote:

      >> On Jun 3, 8:39 am, nicko <nickos....sqlserver.questionfor.info.hotmail.com> wrote:

      >> > I am using reporting services 2000 and would like to know if there is

      >> > a way of programatically setting the x-axis minimum and maximum

      >> > values.

      >> > The Minimum and Maximum Scale X axis textboxes do not have an "fx"

      >> > next to them, so I cannot set an expression for them. Can it be done

      >> > at all?

      >> If I'm understanding you correctly, you will most likely need to

      >> create the RDL file programmatically via a custom ASP.NET application.

      >> Sorry that I could not be of greater assistance.

      >> Regards,

      >> Enrique Martinez

      >> Sr. Software Consultant

      > Thanks Enrique.

      > I will be creating this report via an asp.net web application.

      > Does anyone know how to do this programatically? Do I create the rdl

      > file and then just edit the xml <min>0</min> and <max></max> values or

      > is there a different way to do this? Can someone point me to an

      > example of this...?

      >

      #3; Sun, 01 Jun 2008 21:57:00 GMT