« Previous Next »

Thread: Change Line thickness of -o:CHART

Last post 07-13-2009 8:59 PM by pentiumeric. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 07-06-2009, 12:43 AM

    Change Line thickness of -o:CHART

    For the chart output, how would i change the thickness of the chart?

  • 07-06-2009, 4:44 PM In reply to

    Re: Change Line thickness of -o:CHART

    You will need to get details on MSDN on how to use chart/chartSpace with either js or vbs. It "may" allow what you are trying to do. You would have a -config:configChart.js as part of the logparser params. The configChart.js would contain what you need to have done. An example of this would be:


    function setAxisTitle(axisNumber, title) {
        var axis = chart.Axes(axisNumber);
        axis.HasTitle = true;
        axis.Title.Caption = title;
    };


    // Change the background color
    chart.PlotArea.Interior.Color=chartSpace.Constants.chColorNone;

    try {
        chart.Legend.Position=chartSpace.Constants.chLegendPositionBottom;
    }
    catch(e) {
    }

    For what you want you will need to do some digging in MSDN.

    Check out my blog for other cool tips and tricks:

    http://joelangley.blogspot.com/
  • 07-13-2009, 8:59 PM In reply to

    Re: Change Line thickness of -o:CHART

    Thanks joelangley,

     I have done some reading MSDN website, but the instruction of the website is not enough. Would you give some more examples for me on the it?

    pentiumeric

Page 1 of 1 (3 items)
Microsoft Communities