기능적인 파이 차트가 있습니다. 관련 파이 세그먼트 위로 마우스를 가져 가면 스타일을 향상시키고 싶습니다. 공식 문서, 온라인 검색 및 출처는 범례 항목에 영향을 줄 수있는 방법에 대한 단서를 제공하지 않았습니다. 누구든지이 작업을 수행하는 방법에 대한 예가 있습니까?gRaphael 원형 차트의 전설 양식은 어떤 방식으로 작성됩니까?
현재 파이 차트에는 8 개의 세그먼트가 있습니다. 도움이된다면, 파이 세그먼트 하나와 그와 관련된 범례 엔트리 예제가있는 소스가 있습니다 :
<rvml:shape class="rvml" style="position: absolute; filter: ; width: 1px; height 1px; top: 0px; left: 0px;" raphael="true" raphaelid="0">
<rvml:stroke class="rvml" />
<rvml:skew class="rvml" />
<rvml:fill class="rvml" />
<!-- raphaelid="1" through "7" have the same attributes and subelements -->
<rvml:shape class="rvml" style="position: absolute; filter: ; width: 1px; height 1px; top: 0px; left: 0px;" raphael="true" raphaelid="8">
<!-- same subelements as first -->
<!-- raphaelid="9" through "15" have the same attributes and subelements -->
<!-- Colored bullet just before legend entry -->
<rvml:shape class="rvml" style="position: absolute; filter: ; width: 1px; height 1px; top: 0px; left: 0px;" raphael="true" raphaelid="16">
<!-- same subelements as first -->
<!-- Legend entry -->
<rvml:shape class="rvml" style="position: absolute; filter: ; width: 1px; height 1px; top: 0px; left: 0px;" raphael="true" raphaelid="17">
<rvml:stroke class="rvml" />
<rvml:textpath class="rvml" style="font: 400 12px Arial, sans-serif; v-text-align: left; v-text-kern: true;" />
<rvml:path class="rvml" />
<rvml:skew class="rvml" />
<rvml:fill class="rvml" />