Forum Replies Created by cancmgz

Viewing 3 posts - 1 through 3 (of 3 total)
  • in reply to: Multiple charts Json datas not #17876

    i ask you ` data: [
    {
    type: “spline”,
    dataPoints: dps1
    },
    {
    type: “spline”,
    dataPoints: dps2
    }
    ]` this block have to dynamic. How to create another dynamic block and how to declare a name in this block.

     {
                        type: "spline",
                        showInLegend: true,
                        name: "Test1",
                        xValueFormatString: "DD MMM, YYYY",
                        color: "#F08080",
                        dataPoints: [
                             { label: "13.11.2017", y: 101 },
                            { label: "14.11.2017", y: 103 },
                            { label: "15.11.2017", y: 102 }
    
                        ]
                    }

    this my format but i have to extend too many blocks in Data: block

    in reply to: Multiple charts Json datas not #17871

    @Suyash Singh

    Thank you but will be more than 2, it needs to be dynamic :/

    in reply to: Multiple charts Json datas not #17850

    i need to:

    data: [
                    {
                        type: "spline",
                        showInLegend: true,
                        name: "Test1",
                        xValueFormatString: "DD MMM, YYYY",
                        color: "#F08080",
                        dataPoints: [
                             { label: "13.11.2017", y: 101 },
                            { label: "14.11.2017", y: 103 },
                            { label: "15.11.2017", y: 102 }
    
                        ]
                    },
                    {
                        type: "spline",
                        showInLegend: true,
                        name: "Test55",
                        xValueFormatString: "DD MMM, YYYY",
                        color: "#4280f4",
                        dataPoints: [
                            { label: "13.11.2017", y: 101 },
                            { label: "14.11.2017", y: 103 },
                            { label: "15.11.2017", y: 102 }
    
                        ]
                    }
    ]

    thanks in advance.

Viewing 3 posts - 1 through 3 (of 3 total)