Can Powerbuilder Graph labels show values instead of percentages? - graph

Using PB 12
I have a pie chart that breaks down project billings. It is showing percentages, but for me it would be more useful to show the values.
I am having a very hard time finding any resources on manipulating charts. I'd also like to be able to put more information into the legend, but again, not finding any guides to this.
Any help greatly appreciated,
Thanks,

To get the values instead of percentages :
Edit the datawindow, select the "Text" tab
Select "Pie Graph Labels" in the TextObject drop-down list
In the "Display Expression" field type "value"
I'm using PB10.5, I hope it's same with 12.

Related

I need to remove labels with 0 value [LibreOffice Calc]

I am creating a very basic dashboard in libreoffice Calc. Right now I am trying to create some piecharts and bar charts. I am facing similar problem with both this type of charts.
Piecharts: I have ALL the labels to the right of the chart, even if those labels have an actual value of 0. I want labels with 0 value not to be displayed.
Bar charts: Similar to Piecharts, I want the chart not to display those X values with 0.
I am using LibreOffice Calc 6.4.7.2
If anyone can help me.
Just filter the source data table
If you want to see the entire data table, you can put the filtering result in another place and build a diagram based on this trimmed data.

Why there is no "Top ..." in "Order Option in Kibana Visualization creation

I just started learning ELK, the data I am using has the following sample:
"YEAR","QUARTER","MONTH","DAY_OF_MONTH","DAY_OF_WEEK","FL_DATE","UNIQUE_CARRIER","AIRLINE_ID","CARRIER","TAIL_NUM","FL_NUM"
2016,1,1,6,3,2016-01-06,"AA",19805,"AA","N4YBAA","43"
2016,1,1,7,4,2016-01-07,"AA",19805,"AA","N434AA","43"
2016,1,1,8,5,2016-01-08,"AA",19805,"AA","N541AA","43"
2016,1,1,9,6,2016-01-09,"AA",19805,"AA","N489AA","43"
2016,1,1,10,7,2016-01-10,"AA",19805,"AA","N439AA","43"
When I am creating my first visualization, I want to have a pie chart to show the top stats of "CARRIER", in Kibana, below is what I see:
You can see from the left panel setting "Order", there is no "Top" in the dropdownlist, which causes the chart area shows one pie for the lowest stats of "CARRIER" which in this case is WN, and the rest is grouped into the second pie.
Doesn't make any sense here.
I watched some tutorial videos and there supposed to have more options in the dropdownlist like Top, which means for pie chart creation.
Am I missing anything here? How do I create the needed pie chart?
Thank you very much.
The "Size" parameter is actually the "Top X" you are looking for.
In your chart, it shows only 1 value, and it chooses the first value by order of ascending.
Change it to have more values.

Replicate thinkcell "cutout/breaks" in R chart

I have very sparse data and I want to adjust the chart so that I can show the amount of the positive event rather than it being a speck on the chart next to the negative class.
In thinkcell ( an excel and powerpoint add in), there is a cool feature where you can effectively "hide" a part of the frequency. An example is here.
The squiggly lines are a cut off to change the scale.
The kind of data I am working with
a<-data.frame("Changed"=rep(0,900))
b<-data.frame("Changed"=rep(1,50))
example<-data.frame(Changed=rbind(a,b))
hist(example$Changed)
Any suggestions on how to do this or how to represent this? I guess at worst I could change the limit of the chart and just label it to show the value in the base... but its not that pretty or obvious.
Appreciate any thoughts.
J

Cognos - Size of the axes in a graph

Do you know how it is possible, in a graph, to adjust the size of the Y-axis to correspond to the data?
Screenshot for example : http://hpics.li/296c96c
Thanks for your help ! :)
Click on the Y-axis line (not the 0-n)
Properties -> Axis Range
Relevant blog post with pictures
Thanks for your response.
It helps me to find how to adapt the Y-axis to the data, in my case where I use a repeater.
we have to uncheck the option "same range for all instances of the graph".
See the screenshot:
http://hpics.li/fb34043
See you :-)

Get title/color of series from Flex Chart

I've created a chart in flex and now I need to get the series' label and colors, but I cannot find a way to do that. Do you know a way to retrieve them?
I know I can use the Legend Control, but I don't need that. I just need to get an arraycollection with series' label and colors
found the answer ..
this is what i used to get the value from the first series (lineseries)
myChart.legendData[0].element.getStyle('lineStroke');

Resources