I have two questions regarding Bubble chart trendline: 1. We want to plot both the grouping variable and total on the same chart. But the trendline should only fit the line by grouping variable. How to do this? 2. We also want to export the chart to PDF. We are using Trendline option under GRAPH_JS and the trendline will appear. However when we change the format to PDF, there is no trendline. I guess graph_js only works for HTML. Is there equivalent get or set methods that can product the same trendline?
Same for showing linear equation for the chart.
Thank youThis message has been edited. Last edited by: <Emily McAllister>,
WebFOCUS 8.1.05 Windows, All Outputs
June 29, 2016, 12:22 PM
Tamra
WebFocusDiver,
Can you please update your signature to reflect more specifically the WebFOCUS version you are using?
Are you creating this chart using InfoAssist or AppStudio or Dev Studio GUI or CODE?
Bubble (Page 211) . A bubble chart is a chart in which the data points are represented by bubbles. Bubble charts can have two column fields representing X and Y data values, or have three column fields representing X, Y, and Z data values, in that order. The third variable (Z) represents size. The size of each bubble is used to show the relative importance of the data.
How to Add a Trendline Page 242
A trendline is a line that is drawn over the plot area of a chart to show the pattern of the data points. The pattern reveals a statistical trend.
Note: Linear regression trendlines are not available for bubble charts in HTML5.
1. Create a chart. 2. Access the menu of trendline types in one of the following ways: Ribbon: On the Series tab, in the Properties group, open the Trendline drop-down menu. Right-Click Menu: Right-click a series on the chart, and point to Add Trendline. 3. Select the type of trendline that you want to display. The trendline appears on the chart. 4. Optionally, to display the mathematical equation for the selected trendline option, on the Series tab, in the Properties group, click Equation.