Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register 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