ls.getMarker( ).setType( MarkerType.TRIANGLE_LITERAL ); ls.getMarker( ).setSize( 8 );
for ( int i = 0; i < ls.getMarkers( ).size( ); i++ ) { ((Marker)ls.getMarkers( ).get( i )).setType( MarkerType.FOUR_DIAMONDS_LITERAL ); ((Marker)ls.getMarkers( ).get( i )).setSize( 8 ); }
	protected static final Chart createTVChart( )	{		ChartWithAxes cwaLine = ChartWithAxesImpl.create( );		cwaLine.getBlock( ).setBackground( ColorDefinitionImpl.WHITE( ) );		Plot p = cwaLine.getPlot( );		p.getClientArea( ).setBackground( ColorDefinitionImpl.create( 255,				255,				225 ) );		cwaLine.getTitle( )				.getLabel( )				.getCaption( )				.setValue( "Click \"Line Series\" to Toggle Visibility" ); //$NON-NLS-1$		cwaLine.setUnitSpacing( 20 );		Legend lg = cwaLine.getLegend( );		LineAttributes lia = lg.getOutline( );		lg.getText( ).getFont( ).setSize( 16 );		lia.setStyle( LineStyle.SOLID_LITERAL );		lg.getInsets( ).set( 10, 5, 0, 0 );		lg.getOutline( ).setVisible( false );		lg.setAnchor( Anchor.NORTH_LITERAL );		lg.getTriggers( )				.add( TriggerImpl.create( TriggerCondition.ONMOUSEDOWN_LITERAL,						ActionImpl.create( ActionType.TOGGLE_VISIBILITY_LITERAL,								SeriesValueImpl.create( "not-used" ) ) ) ); //$NON-NLS-1$		Axis xAxisPrimary = cwaLine.getPrimaryBaseAxes( )[0];		xAxisPrimary.setType( AxisType.TEXT_LITERAL );		xAxisPrimary.getMajorGrid( ).setTickStyle( TickStyle.BELOW_LITERAL );		xAxisPrimary.getOrigin( ).setType( IntersectionType.VALUE_LITERAL );		xAxisPrimary.getTitle( ).setVisible( false );		xAxisPrimary.setStaggered( true );		Axis yAxisPrimary = cwaLine.getPrimaryOrthogonalAxis( xAxisPrimary );		yAxisPrimary.getMajorGrid( ).setTickStyle( TickStyle.LEFT_LITERAL );		yAxisPrimary.getTitle( ).setVisible( false );		Vector vs = new Vector( );		vs.add( "one" ); //$NON-NLS-1$		vs.add( "two" ); //$NON-NLS-1$		vs.add( "three" ); //$NON-NLS-1$		ArrayList vn1 = new ArrayList( );		vn1.add( new Double( 25 ) );		vn1.add( new Double( 35 ) );		vn1.add( new Double( -45 ) );		TextDataSet categoryValues = TextDataSetImpl.create( vs );		NumberDataSet orthoValues1 = NumberDataSetImpl.create( vn1 );		// CREATE THE CATEGORY SERIES		Series seCategory = SeriesImpl.create( );		seCategory.setDataSet( categoryValues );		// CREATE THE PRIMARY DATASET		LineSeries ls = (LineSeries) LineSeriesImpl.create( );		ls.setSeriesIdentifier( "Line Series" ); //$NON-NLS-1$		ls.setDataSet( orthoValues1 );		ls.getLineAttributes( ).setColor( ColorDefinitionImpl.CREAM( ) );		ls.getMarker( ).setType( MarkerType.TRIANGLE_LITERAL );		ls.getLabel( ).setVisible( true );		ls.getMarker( ).setType( MarkerType.TRIANGLE_LITERAL );		ls.getMarker( ).setSize( 8 );		SeriesDefinition sdX = SeriesDefinitionImpl.create( );		sdX.getSeriesPalette( ).update( 0 ); // SET THE COLOR IN THE PALETTE		xAxisPrimary.getSeriesDefinitions( ).add( sdX );		SeriesDefinition sdY = SeriesDefinitionImpl.create( );		sdY.getSeriesPalette( ).update( 1 ); // SET THE COLOR IN THE PALETTE		yAxisPrimary.getSeriesDefinitions( ).add( sdY );		sdX.getSeries( ).add( seCategory );		sdY.getSeries( ).add( ls );		return cwaLine;	}