Rotating x axis label to vertical from horizontal in JasperReports Charts - jasper-reports

How can I rotate the x-axis label from horizontal to vertical? The words are too long to be placed horizontally, vertically placing them will be able to display them.

Go to chart properties, set it to a numeric value in the properties "label rotation" -45.0 for example.

Related

How to get vertical line and horizontal Bar chart in same without gap?

I am trying to get bar chart as horizontal with vertical line. If there is boundaryGap: false for yAxis then bar chart goes below xAxis.
If I do not remove boundaryGap, then yAxis starts in middle of values. The vertical line starts in half of value.
Is it possible for vertical line to appear touching xAxis while barChart can be with boundary?
I later realized that it can be achieved using field markLine. The API has all details and can be simply used as:
markLine:{ data:[1,2,3] }

Strikethrough horizontal line with words in the middle Swift iOS

I am trying to get this done using AttributedString.
Is there a way to have horizontal line with words in the middle?
you can achieve this by using three label with auto-layout
i give constraint to center label(Today 08.30) center horizontal and center vertical to viewcontroller.
just change the Hugging Priority of center label(Today 08.30) to 1000
now your center label adjust his width accoding to your text.
give backboard color to other two label.

How to adjust center axis width in a butterfly chart in Tableau

I am working on a butterfly chart. I create a center zero axis with "Text" type. Everything goes fine, except for one thing.
The width of the center axis is too broad, I want to change the width. But I don't know how to do it.
If I shrink the center axis, left and right are also shrunk. It seems the ratio of width is fixed.
Here is my demo workbook on Tableau Public.
Thanks for any help.
I was able to recreate your butterfly chart following the steps below.
"Concatenated by Dashboard
To shrink the middle margin, we can use a dashboard to concatenate instead of a single worksheet.
Divide into three Worksheets: right-click on the sheet tab and duplicate three copies. Remove the other parts in each worksheet.
Create a Dashboard and concatenate three segments: drag these segments to the corresponding positions.
Change the Dashboard Size to 1200 x 4500. concatenated by dashboard
Set left and right segments as Standard and set the middle segment as Fit Width. Then, Resize them to a proper layout.
Right-click Legends and check Floating, then put them in the appropriate place.
Polish the chart:
Keep only the left title and remove others.
show and rename the left and right axis."
Source: https://www.pluralsight.com/guides/tableau-playbook-diverging-bar-chart

iOS_Charts HorizontalBarChartView Vertical scrolling

What changes need to be done if I have to make 'HorizontalBarChartView' vertically scrollable.
I want to show maximum of 8 bars at a time.
It already supports so. you can set maxScaleX/Y to limit the scale,
also you can try setVisibleYRangeMaximum. horizontal bar chart's x axis is the same as normal bar's x axis position. It's not reverted with y axis

plotsymbol label

I'm playing with core-plot to generate a scatter plot. I've added a plot symbol and want to add a label near every symbol.
I able to do that but want to change the position of this label. I can set the offset but it move the label only vertically, I need to move the label horizontally.
Any way to do that?
this picture shows what i'd like.
screen shot
Thanks
The automatic labels will always appear above the point. You can create annotations to label your data points. For each label, use CPTPlotSpaceAnnotation, anchor it to the coordinates of the data point, and set the displacement and content anchor.
To put the labels to the right of the point, set the displacement to (x, 0) where x is the number of pixels between the label and the center of the data point. Set the content anchor to (0, 0.5).