UnifyKit / visifire

A chart control developed with Wpf, Silverlight, Windows Phone and Windows 8
13 stars 14 forks source link

Cliping of Bubble is not proper #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Point at zero appears out of the plot area.The bubble has to be clipped
appropriately

<vc:Chart
xmlns:vc="clr-namespace:Visifire.Charts;assembly=SLVisifire.Charts"
Width="500" Height="400"
 Theme="Theme1" View3D="True" ZoomingEnabled="True" x:Name="MyChart">

            <vc:Chart.Titles>
                <vc:Title Text="Global Fortune Companies 2007"
Background="Aqua"/>
            </vc:Chart.Titles>
            <vc:Chart.AxesX>
                <vc:Axis Title="Companies" >
                    <vc:Axis.AxisLabels>
                        <vc:AxisLabels Angle="0" Rows="2"/>
                    </vc:Axis.AxisLabels>
                </vc:Axis>
            </vc:Chart.AxesX>

            <vc:Chart.AxesY>
                <vc:Axis Title="Revenue in Million dollars"
AxisType="Primary" />
            </vc:Chart.AxesY>
            <vc:Chart.Series>
                   <vc:DataSeries RenderAs="Bubble" AxisYType="Primary"
                                 XValueType="Numeric">
                  <vc:DataSeries.DataPoints>
                        <vc:DataPoint AxisXLabel="ABC1" YValue="25"/>
                        <vc:DataPoint AxisXLabel="ABC2" YValue="35"/>
                        <vc:DataPoint AxisXLabel="ABC3" YValue="28"/>
                        <vc:DataPoint AxisXLabel="ABC4" YValue="75"/>
                        <vc:DataPoint AxisXLabel="ABC5" YValue="17"/>
                        <vc:DataPoint AxisXLabel="ABC6" YValue="50"/>
                        <vc:DataPoint AxisXLabel="ABC7" YValue="43"/>
                        <vc:DataPoint AxisXLabel="ABC8" YValue="89"/>
                        <vc:DataPoint AxisXLabel="ABC9" YValue="32"/>
                        <vc:DataPoint AxisXLabel="ABC10" YValue="87"/>
                        <vc:DataPoint AxisXLabel="ABC11" YValue="56"/>
                        <vc:DataPoint AxisXLabel="ABC12" YValue="00"/>
                        <vc:DataPoint AxisXLabel="ABC13" YValue="98"/>
                        <vc:DataPoint AxisXLabel="ABC14" YValue="62"/>
                        <vc:DataPoint AxisXLabel="ABC15" YValue="25"/>
                        <vc:DataPoint AxisXLabel="ABC16" YValue="83"/>
                        <vc:DataPoint AxisXLabel="ABC17" YValue="25"/>
                        <vc:DataPoint AxisXLabel="ABC18" YValue="73"/>
                        <vc:DataPoint AxisXLabel="ABC19" YValue="48"/>
                        <vc:DataPoint AxisXLabel="ABC20" YValue="57"/>
                        <vc:DataPoint AxisXLabel="ABC21" YValue="29"/>
                        <vc:DataPoint AxisXLabel="ABC22" YValue="39"/>
                        <vc:DataPoint AxisXLabel="ABC23" YValue="58"/>
                        <vc:DataPoint AxisXLabel="ABC24" YValue="88"/>
                        <vc:DataPoint AxisXLabel="ABC25" YValue="22"/>
                        <vc:DataPoint AxisXLabel="ABC26" YValue="99"/>
                        <vc:DataPoint AxisXLabel="ABC27" YValue="66"/>
                        </vc:DataSeries.DataPoints>
                </vc:DataSeries>

                 <vc:DataSeries RenderAs="Point" AxisYType="Primary"
XValueType="Numeric" MarkerSize="12" MarkerType="Circle">
                    <vc:DataSeries.DataPoints>
                        <vc:DataPoint AxisXLabel="ABC1" YValue="45"/>
                        <vc:DataPoint AxisXLabel="ABC2" YValue="76"/>
                        <vc:DataPoint AxisXLabel="ABC3" YValue="44"/>
                        <vc:DataPoint AxisXLabel="ABC4" YValue="22"/>
                        <vc:DataPoint AxisXLabel="ABC5" YValue="88"/>
                        <vc:DataPoint AxisXLabel="ABC6" YValue="43"/>
                        <vc:DataPoint AxisXLabel="ABC7" YValue="90"/>
                        <vc:DataPoint AxisXLabel="ABC8" YValue="12"/>
                        <vc:DataPoint AxisXLabel="ABC9" YValue="75"/>
                        <vc:DataPoint AxisXLabel="ABC10" YValue="89"/>
                        <vc:DataPoint AxisXLabel="ABC11" YValue="56"/>
                        <vc:DataPoint AxisXLabel="ABC12" YValue="00"/>
                        <vc:DataPoint AxisXLabel="ABC13" YValue="45"/>
                        <vc:DataPoint AxisXLabel="ABC14" YValue="56"/>
                    </vc:DataSeries.DataPoints>
                </vc:DataSeries>

            </vc:Chart.Series>
        </vc:Chart>

Original issue reported on code.google.com by sheetalk...@gmail.com on 25 Feb 2010 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
Bubble are of variable size. So bubbles should be clipped.

Original comment by somnathpanja@gmail.com on 3 Aug 2010 at 5:33