

Set axis label style to 8pts Arial Bold call c.tLabelStyle( "arialbd.ttf", 8*factor)Ĭall c.tLabelStyle( "arialbd.ttf", 8*factor)Ĭall c.tLabelStyle( "arialbd.ttf", 8*factor) ChartDirector auto-scaling will use this // as the guideline when putting ticks on the y-axis. Set the x axis labels 'call c.tLabels(labels) // Set y-axis tick density to 30 pixels.

Use 10pts Arial Bold as // font, with transparent background.Ĭ.addLegend( 50*factor, 28*factor, false, "arialbd.ttf", 10*factor).setBackground(c.kTransparent) Add a legend box at (50, 28) using horizontal layout. call c.setPlotArea( 50*factor, 55*factor, (width- 100)*factor, (height- 100)*factor, c.linearGradientColor( 0, 55, 0, 335, &hf9fcff, &haaccff), - 1, c.kTransparent, &hffffff) Set border to transparent and grid lines to white (ffffff). Use a vertical // gradient color from light blue (f9f9ff) to sky blue (aaccff) as background. Set the plotarea at (50, 55) and of 500 x 280 pixels in size. Add a title to the chart using 18 pts Times Bold Italic font call c.addTitle( "Product Line Global Revenue", "timesbi.ttf", 18) Create a XYChart object of size 600 x 375 pixels dim c as new CDXYChartMBS(width*factor, height*factor) EventHandler Function Render(ViewPort As CDViewPortManagerMBS, Factor As Double, Width As Integer, Height As Integer) As CDBaseChartMBSĬDBaseChartMBS.ScaleFactor = 2 // let plugin scale up for HiDPI // The data for the line chart
