What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Support Resolved How can I change the border-color of the Map Pie

Freelancer

Member
I can only change the pie segments' colors but the pie chart border-color is always white. Please let me know how to change it.
 
Hi
in js/xfa/map/app.js

Find

Code:
$.plot('.mapPie', series, {
    series: {
        pie: {
            innerRadius: 0.5,
            show: true,
            label: {
                show: true,
            }
        }
    },
    legend: {
        show: false
    }
});

replace by

Code:
$.plot('.mapPie', series, {
    series: {
        pie: {
            innerRadius: 0.5,
            show: true,
            label: {
                show: true
            },
            stroke: {
                color: "#000"
            }

        }
    },
    legend: {
        show: false
    }
});

And change color in this part

Code:
stroke: {
                color: "#000"
            }

And don't forgot clear browser cache if necessary ;)
 
Top