Welcome Guest Search | Active Topics |

DataSource not returning values to jqChart
slotty
#1 Posted : Monday, April 7, 2014 12:21:44 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/3/2014(UTC)
Posts: 4

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Could someone please explain why the first (jqChart) chart plots no values but the second (MS Chart) chart does when they're both pulling from the same defined SQLDatasource


Code:
    <jqChart:Chart ID="Chart1" Width="500px" Height="300px" runat="server"
        DataSourceID="SDQ">
        <Title Text="Chart Title"></Title>
        <Animation Enabled="True" DelayTime="00:00:10" />
        <Axes>
            <jqChart:CategoryAxis Location="Bottom" ZoomEnabled="true">
            </jqChart:CategoryAxis>
        </Axes>
        <Series>
            <jqChart:LineSeries YValuesField="Total_FTE" XValuesField="FN" ></jqChart:LineSeries>
        </Series>
    </jqChart:Chart>


Code:
<asp:Chart ID="Chart2" runat="server" DataSourceID="SDQ">
        <Series>
            <asp:Series ChartArea="ChartArea1" Name="Series1" XValueMember="FN"
                YValueMembers="Total_FTE">
            </asp:Series>
        </Series>
        <ChartAreas>
            <asp:ChartArea Name="ChartArea1">
            </asp:ChartArea>
        </ChartAreas>
    </asp:Chart>

Ivan
#2 Posted : Tuesday, April 8, 2014 3:19:04 AM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
Is there a way you can send us your example ( support@jqchart.com ) , so we can investigate it?
Best,
Ivan Petrov
jqChart Inc.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.067 seconds.