Welcome Guest Search | Active Topics |

Gantt X-Axis (timeline) to display at top of chart
Robert
#1 Posted : Monday, November 09, 2015 7:20:53 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/9/2015(UTC)
Posts: 1

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hello --

I am trying to implement Gantt chart.

I wish to place the X-Axis (Timeline) at the TOP of the chart instead of the bottom. Can you please tell me how to do this?

Also, I am trying to place Task names INSIDE the Gantt bars,,,can you also tell me how to do this??

Thanks!!
Dragan
#2 Posted : Wednesday, November 11, 2015 3:15:35 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
1) You can change the ASPX code from
http://www.jqchart.com/a.../GanttCharts/GanttChart

to:

Code:
<jqChart:Chart ID="Chart1" Width="500px" Height="300px" runat="server" DataSourceID="ObjectDataSource1">
        <Title Text="Gantt Chart"></Title>
        <Animation Enabled="True" Duration="00:00:01" />
        <Tooltips TooltipsType="Shared"></Tooltips>
        <Legend Visible="false"></Legend>
    <Axes>
            <jqChart:DateTimeAxis Location="Top">
            </jqChart:DateTimeAxis>
        </Axes>
        <Series>
            <jqChart:GanttSeries
                XValuesField="ValueX"
                FromValuesField="ValueFrom"
                ToValuesField="ValueTo">
                <FillStyles>
                    <jqChart:StringValue Value="#CA6B4B" />
                    <jqChart:StringValue Value="#005CDB" />
                    <jqChart:StringValue Value="#F3D288" />
                    <jqChart:StringValue Value="#506381" />
                    <jqChart:StringValue Value="#F1B9A8" />
                </FillStyles>
            </jqChart:GanttSeries>
        </Series>
    </jqChart:Chart>


2) Unfortunately, currently this is not supported. You can have only tooltips to the gantt bars.
Best Regards,
Dragan Matek
jqChart Inc.
vbanker@enghouse.com
#3 Posted : Monday, February 22, 2016 4:54:20 AM(UTC)
Rank: Newbie

Groups: jQueryDV, Registered
Joined: 11/20/2014(UTC)
Posts: 7

Thanks: 2 times
Was thanked: 0 time(s) in 0 post(s)
We want to implement same for 2)
Could you suggest how to make workaround? We really need to do it.
Thanks
Ivan
#4 Posted : Monday, March 07, 2016 6:14:55 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)
It's available since version 4.0.0.0:
http://www.jqchart.com/aspnet/chart/GanttCharts/GanttChart
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.133 seconds.