Flex3 Line points too close to the edge

I have a Flex3 LineChart component using CircleItemRenderer and the data points are clipped because they are too close to the edge. Here's what it looks like:

http://img29.imageshack.us/img29/3850/chartx.png

As you can see, the circles on the left and right sides are cropped.

How can I make the LineSeries area plus horizontal labels narrower to fit the area of ​​the chart?

Thanks!

+3
source share
6 answers

, , clipContent false. Amy Flex.

+4
+2

horizontalAxis verticalAxis...

+1

.

+1

d .

  • creationComplete LineChart

  • edit the horizontal pad you want

    e.target.horizontalAxis.padding = 0.2;

+1
source

I got this to work by changing the type from LineChart to ColumnChart. I still had the same axis definitions as the Line Series. The results are the same line graph, but are more focused on the graph, rather than touching the edges. None of the other additions or gutters were what I was looking for.

+1
source

Source: https://habr.com/ru/post/1714991/


All Articles