Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • okp70

    (@okp70)

    Hi Enrico,
    Wonderful maps…

    I can see the “rvm_mbe_select_target” in the core file – are you preparing for this very useful functionality soon?

    All the best
    Ole

    Thread Starter okp70

    (@okp70)

    Thank you so much for taking your time, Massoud. Are you changing the structure of the wp-demo on your blog, because the posts are not showing?

    Best regards
    Ole

    Thread Starter okp70

    (@okp70)

    Hmmm, (sorry to bother you again) it sounds logical, but doesn′t seem to fix it here at my end: The mix up is solved: the second chart is shown in the right place now, but the first is invisible… everything is in the right place in the html and the right script is called, but noting is shown on the screen.

    best regards
    Ole

    Thread Starter okp70

    (@okp70)

    Hi again,
    Thanks for quick respons. I′m sorry, but it doesn′t help: both divs and scripts are loaded in correct place, but only the latter chart is shown – in the first container btw.
    I have tried it on two different wp installations with the same result:

    The snippets:

    1:
    <div id=”canvas-holder-2″ style=”width:30%; direction:ltr; margin-left:auto; margin-right:auto; display:table;”>
    <canvas id=”chart-area” width=”250″ height=”250″/>
    </div>
    <script>
    var doughnutData = [

    {
    value: 43667,
    color: “#ec8316”,
    highlight: “#ff8300”,
    label: “DM orange”
    },
    {
    value: 453,
    color: “#AF23A5”,
    highlight: “#9d3292”,
    label: “DM rosa”
    },
    {
    value: 80924,
    color: “#66008C”,
    highlight: “#522e91”,
    label: “DM lilla”
    },
    {
    value: 896,
    color:”#568E14″,
    highlight: “#5d9632”,
    label: “DM gron”
    },
    {
    value: 88,
    color: “#00829B”,
    highlight: “#0083a8”,
    label: “DM turkis”
    }
    ];
    window.onload = function(){
    var ctx = document.getElementById(“chart-area”).getContext(“2d”);
    window.myDoughnutChart = new Chart(ctx).Doughnut(doughnutData, {
    responsive:true, segmentShowStroke : true, segmentStrokeColor : “#fff”, segmentStrokeWidth : 2, percentageInnerCutout : 50
    });
    };
    </script>

    2:

    <div id=”canvas-holder-1″ style=”width:30%; direction:ltr; margin-left:auto; margin-right:auto; display:table;”>
    <canvas id=”chart-area” width=”250″ height=”250″/>
    </div>
    <script>
    var doughnutData = [

    {
    value: 10913 ,
    color: “#ec8316”,
    highlight: “#ff8300”,
    label: “DM orange”
    },
    {
    value: 2693,
    color: “#AF23A5”,
    highlight: “#9d3292”,
    label: “DM rosa”
    },
    {
    value: 4104,
    color: “#66008C”,
    highlight: “#522e91”,
    label: “DM lilla”
    },
    {
    value: 26832,
    color:”#568E14″,
    highlight: “#5d9632”,
    label: “DM gron”
    },
    {
    value: 21443,
    color: “#00829B”,
    highlight: “#0083a8”,
    label: “DM turkis”
    }
    ];
    window.onload = function(){
    var ctx = document.getElementById(“chart-area”).getContext(“2d”);
    window.myDoughnutChart = new Chart(ctx).Doughnut(doughnutData, {
    responsive:true, segmentShowStroke : true, segmentStrokeColor : “#fff”, segmentStrokeWidth : 2, percentageInnerCutout : 50
    });
    };
    </script>

    I have also tried with the polar example form your blog with the same result …

    I really hope you′re able to fix it, because the idea behind the plugin is very, very good…

    best regards
    Ole

Viewing 4 replies - 1 through 4 (of 4 total)