Welcome Guest Search | Active Topics |

shapeRendering
nguyenngoc
#1 Posted : Thursday, May 29, 2014 6:48:11 AM(UTC)
Rank: Member

Groups: Registered
Joined: 7/21/2012(UTC)
Posts: 13

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
jqchart support lineRendering ?
Ivan
#2 Posted : Thursday, May 29, 2014 8:07:36 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)
You can probably add a new line series with 2 points.
Best,
Ivan Petrov
jqChart Inc.
nguyenngoc
#3 Posted : Friday, May 30, 2014 1:29:52 AM(UTC)
Rank: Member

Groups: Registered
Joined: 7/21/2012(UTC)
Posts: 13

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
you may cho me 1 examples ?
Ivan
#4 Posted : Tuesday, June 3, 2014 9:04:14 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)
Here is:
Code:
    $(document).ready(function () {
            $('#jqChart').jqChart({
                title: { text: 'Line Chart' },
                tooltips: { type: 'shared' },
                animation: { duration: 1 },
                axes: [
                    {
                        location: 'bottom',
                        type: 'dateTime',
                        labels: {
                            stringFormat: 'm/d/yy'
                        }
                    }
                ],
                series: [
                    {
                        type: 'line',
                        title: 'Series 1',
                        strokeStyle: '#418CF0',
                        lineWidth: 2,
                        data: [[new Date(2010, 0, 1), 62], [new Date(2010, 0, 2), 60],
                               [new Date(2010, 0, 3), 68], [new Date(2010, 0, 4), 58],
                               [new Date(2010, 0, 5), 52], [new Date(2010, 0, 6), 60],
                               [new Date(2010, 0, 7), 48]]
                    },
                    {
                        type: 'line',
                        title: 'Series 2',
                        strokeStyle: '#FCB441',
                        showInLegend: false,
                        lineWidth: 2,
                        data: [[new Date(2010, 0, 3), 62], [new Date(2010, 0, 6), 36]],
                        markers : null
                    }
                ]
            });
        });
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.075 seconds.