ftp.nice.ch/pub/next/connectivity/infosystems/WAIStation.1.9.6.N.b.tar.gz#/WAIS/next-ui/BrowserBarChart.m

This is BrowserBarChart.m in view mode; [Download] [Up]

// BrowserBarChart.m
//
// Free software created 1 Feb 1992
// by Paul Burchard <burchard@math.utah.edu>.

#import "BrowserBarChart.h"
#import "BarChartCell.h"

@implementation BrowserBarChart

- initFrame:(const NXRect *)frameRect
{
    return [super initFrame:frameRect cellClass:[BarChartCell class]];
}

- setBarValue:(float)aValue at:(int)row
{
    return [[self cellAt:row] setBarValue:aValue];
}

- (float)barValueAt:(int)row
{
    id cell;
    
    if(!(cell = [self cellAt:row])) return 0.0;
    return [cell barValue];
}

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.