Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Network Performance Monitor (NPM) > Change the Custom Chart size

Change the Custom Chart size

Table of contents

Updated

Overview

This article shows how to modify the size (height and width) of Custom Charts.

Note: This is not applicable to NPM 12 as the .CS files are no longer available.

Environment

NPM 11.5.3 and earlier versions

Steps

  1. Copy the CustomChart.aspx.cs located in C:\inetpub\SolarWinds\Orion\Charts to your desktop as a backup.
  2. Open CustomChart.aspx.cs in Notepad.
  3. Find the following:

    /// Gets the width of the chart.

        /// </summary>

        protected int Width

        {

            get

            {

                string value = string.Empty;

                if (!IsPostBack)

                {

                    value = Request["Width"];

                }

                else

                {

                    value = chartWidth.Text;

                }

     

     

                int width = 0;

                if (Int32.TryParse(value, out width) && width > 0)

                {

                    return width;

                }

                else

                {

                    return 640;

                }

            }

        }

  4. Replace the 640 to what you need.
  5. Do the same for the height of the chart if needed  
  6. Save the file.

 

Last modified
18:56, 27 Jul 2016

Tags

Classifications

Public