Tips on Data Series in XY and Bar charts

I have had a few recent questions on adding additional Data Series to the XY CHART and BAR CHART elements from the Reporting Collection, and thought I would share some tips and examples.

It is fairly easy to add additional data series to a component. To do so, select the XY Chart or Bar Chart component in your protocol. Under parameters, right-click on the component and choose "Edit...". In the resulting dialog, again right click on the entry labelled "Data Series 2", but now choose "Copy", and again and choose "Paste" (Note -- I do not suggest copying Data Series 1, as that is different from Data Series 2 and 3 in that it holds some required parameters.). You will be prompted to enter a new name for the new Data Series -- simply press OK to select the default choice of "Data Series 4" and click the "Rename All" button in order to make the appropriate parameter name change for all of the parameters that are included in the Data Series. Click OK to return to the protocol view. You can now use your edited component to enter a 4th data series.

For XY charts you can avoid using multiple data series by taking advantage of the option to set the Y Property in Data Series 1 to a comma-delimited list of properties. Depending on your protocol design, it is also possible to create multiple bars in a Bar Chart by using only one data series. Attached are simple examples of how you might avoid adding additional series -- for the Bar Chart example I take 5 property values associated with 2 records and use them to create a separate 5-bar chart for each incoming record - all using only Data Series 1.

Regards,
Lynn Miller
miller@accelrys.com