Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Properties are not working as expected for igx-data-annotation-slice-layer
posted

Hi,

i want to use the 

igx-data-annotation-slice-layer

in a igx-data-chart what actually works but now I want to customize
certain things a little bit but I fail.

this is the layer code

<igx-data-annotation-slice-layer
[dataSource]="annotationSliceStockSplitData"
[targetAxis]="mainXNumAxis"
[brush]="'black'"
opacity="0.5"
annotationTextColor="transparent"
annotationLabelMemberPath="label"
annotationValueMemberPath="value"
annotationBackground="transparent"
annotationBorderColor="transparent"
overlayTextMemberPath="label"
overlayTextAngle="90"
overlayTextStyle="bold 20pt Arial"
overlayTextVerticalMargin="0"
overlayTextHorizontalMargin="0"
overlayTextLocation="OutsideTopRight">
</igx-data-annotation-slice-layer>
First of all, can I make the line straight and not dotted.
I know there exists igOverlays but they do not have annotations.
Also I struggle with the following properties:

overlayTextAngle="90"
overlayTextStyle="bold 20pt Arial"

I would assume the angle is applied to the dotted line vertically with 90
but the angle seems to be moving around that line.
I also want to style the text in size and font but this does not work either.
It remains all the time.

You can see the attached immage.
Hope you can help me.
Ty


Parents Reply Children
No Data