hi,
I am new to infragistics,my task is produce the xamChart below like this,In my chart contains X-AXIS,Y-AXIS. Y-Axis and X-axis range is dynamically supplied to chart control.Suppose i am sending range100 for y-axis,and 45 for x-axis,and my values for (x,y)= (1,100),(2,95),(3,95),(4,90)....(45,10),how can i produce below chart,please any one help me are give some suggestions.
Hello,
Thank you for your post. I have been looking through it and I created a sample project for you, showing how to bind your XamChart to a collection with objects from Custom class. Please let me know if you need further assistance on this matter.
Looking forward for your reply.
hi stefan,
The below chart is the my requirement,i have to send all data dynamically by using an entry form,if the user enter the data in entry form,we have to produce the dynamic chart below like this.Currently i am using some static data for producing the below grid.
I used this code
<igCA:XamChart StartPaletteBrush="#CCC045C0" EndPaletteBrush="#CC3A265C" Background="{x:Null}" Margin="8,102.5,-141,8" BorderThickness="0"> <!-- Lights --> <!-- Series --> <igCA:XamChart.Series> <igCA:Series Fill="Red" ChartType="Cylinder" Label="Poor 0-44"> <igCA:Series.Animation> <igCA:Animation BeginTime="00:00:01.75"/> </igCA:Series.Animation> </igCA:Series> <igCA:Series Fill="Yellow" ChartType="Cylinder" Label="Fair 45-75"> <igCA:Series.Animation> <igCA:Animation BeginTime="00:00:01.75"/> </igCA:Series.Animation> </igCA:Series> <igCA:Series Fill="Green" ChartType="Column" Label="Very Good 76-100"> <igCA:Series.Animation> <igCA:Animation BeginTime="00:00:01.25"/> </igCA:Series.Animation> <igCA:Series.ChartParameters> <igCA:ChartParameter Type="Column3DNumberOfSides" Value="6" /> </igCA:Series.ChartParameters> <igCA:Series.DataPoints > <igCA:DataPoint Value="100" Fill="Green" /> <igCA:DataPoint Value="95" Fill="Green" /> <igCA:DataPoint Value="95" Fill="Green" /> <igCA:DataPoint Value="90" Fill="Green" /> <igCA:DataPoint Value="90" Fill="Green" /> <igCA:DataPoint Value="85" Fill="Green" /> <igCA:DataPoint Value="85" Fill="Green" /> <igCA:DataPoint Value="80" Fill="Green" /> <igCA:DataPoint Value="80" Fill="Green" /> <igCA:DataPoint Value="75" Fill="Green" /> <igCA:DataPoint Value="75" Fill="Yellow" /> <igCA:DataPoint Value="75" Fill="Yellow" /> <igCA:DataPoint Value="70" Fill="Yellow" /> <igCA:DataPoint Value="70" Fill="Yellow" /> <igCA:DataPoint Value="65" Fill="Yellow" /> <igCA:DataPoint Value="65" Fill="Yellow" /> <igCA:DataPoint Value="65" Fill="Yellow" /> <igCA:DataPoint Value="60" Fill="Yellow" /> <igCA:DataPoint Value="60" Fill="Yellow" /> <igCA:DataPoint Value="50" Fill="Yellow" /> <igCA:DataPoint Value="50" Fill="Yellow" /> <igCA:DataPoint Value="50" Fill="Yellow" /> <igCA:DataPoint Value="50" Fill="Yellow" /> <igCA:DataPoint Value="45" Fill="Yellow" /> <igCA:DataPoint Value="45" Fill="Yellow" /> <igCA:DataPoint Value="45" Fill="Yellow" /> <igCA:DataPoint Value="45" Fill="Yellow" /> <igCA:DataPoint Value="40" Fill="Yellow" /> <igCA:DataPoint Value="40" Fill="Yellow" /> <igCA:DataPoint Value="40" Fill="Red" /> <igCA:DataPoint Value="40" Fill="Red" /> <igCA:DataPoint Value="35" Fill="Red" /> <igCA:DataPoint Value="35" Fill="Red" /> <igCA:DataPoint Value="35" Fill="Red" /> <igCA:DataPoint Value="30" Fill="Red" /> <igCA:DataPoint Value="30" Fill="Red" /> <igCA:DataPoint Value="30" Fill="Red" /> <igCA:DataPoint Value="25" Fill="Red" /> <igCA:DataPoint Value="25" Fill="Red" /> <igCA:DataPoint Value="25" Fill="Red" /> <igCA:DataPoint Value="20" Fill="Red" /> <igCA:DataPoint Value="20" Fill="Red" /> <igCA:DataPoint Value="15" Fill="Red" /> <igCA:DataPoint Value="10" Fill="Red" /> <igCA:DataPoint Value="10" Fill="Red" /> </igCA:Series.DataPoints> </igCA:Series> </igCA:XamChart.Series> <!-- Axes--> <igCA:XamChart.Axes> <igCA:Axis AxisType="PrimaryX" AutoRange="False" Minimum="0" Maximum="46" Unit="1" /> <igCA:Axis AxisType="PrimaryY" AutoRange="False" Minimum="0" Maximum="100" Unit="5" /> </igCA:XamChart.Axes> <igCA:XamChart.Transform3D> <Transform3DGroup> <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/> <ScaleTransform3D ScaleZ="0.99999999999999967" ScaleY="0.99999999999999944" ScaleX="0.99999999999999944"/> <RotateTransform3D d:EulerAngles="0,0,-0.071043585083683"> <RotateTransform3D.Rotation> <AxisAngleRotation3D Axis="0.131,-0.991,0.036" Angle="0"/> </RotateTransform3D.Rotation> </RotateTransform3D> <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/> <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/> </Transform3DGroup> </igCA:XamChart.Transform3D> </igCA:XamChart>
For producing the below chart.Could do you tell me the brief way to produce dynamic chart using collection.Plz some infromation about legend in below chart.
Hello again,
I have created a sample project for you with the functionality you want.
Hope this helps you.
Thank you for your feedback. I am glad that i helped you to resolve your issue and I believe that other community members may benefit from this as well.
Thanks again.
Thank u very much stefan for your great support..
I apologize for that issue with the colors. I have modified my sample project, so now there are three colors (Green, Yellow, Red) showed as you want.
hi stefen,
I have a small problem with your wpfapplication1 example the chart colors like Green,Yellow,Red not displaying in that,it shows only one how can change my chart colors..
Waiting for your reply..
Thank u very much stefan,
Your example gave me a clear idea,how to solve my problem in my task..