Create a circle with 2 stroke











up vote
0
down vote

favorite












I use the library amchart to create a chart. On this chart, there is some bullet created with the element "circle". It's possible to create a border on this bullet but I would also like to create a halo to it to reach this kind of result :



enter image description here



But actually I just get something like this :






circle 
{
r:5;
cx:0;
cy:0;
fill:#36004E;
stroke:#FFFFFF;
stroke-width:2;
}

body {
background: #333;
}

.module {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

svg {
fill: #333;
}

<div class="module">
<svg version="1.1">
<circle transform="translate(8,52)" aria-label=" Nov 06, 2017 1.04" class="amcharts-graph-bullet"></circle>
</svg>
</div>





I try to use the CSS property :




  • :after

  • :before

  • text shadow


but nothing work until now.










share|improve this question


















  • 1




    check this link stackoverflow.com/questions/35754734/…
    – Znaneswar
    Nov 8 at 11:34










  • I already try box-shadow but it's look like it don't have any effect on the element circle
    – Kvasir
    Nov 8 at 11:40










  • Try reuse your circle with <use> and stroke the <use> element for the second stroke.
    – enxaneta
    Nov 8 at 11:56










  • I can't add anything in the HTML.
    – Kvasir
    Nov 8 at 12:17










  • The problem is that you can't use r:5; cx:0; cy:0;in your css You'll have to move at least the r in the SVG
    – enxaneta
    Nov 8 at 12:36















up vote
0
down vote

favorite












I use the library amchart to create a chart. On this chart, there is some bullet created with the element "circle". It's possible to create a border on this bullet but I would also like to create a halo to it to reach this kind of result :



enter image description here



But actually I just get something like this :






circle 
{
r:5;
cx:0;
cy:0;
fill:#36004E;
stroke:#FFFFFF;
stroke-width:2;
}

body {
background: #333;
}

.module {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

svg {
fill: #333;
}

<div class="module">
<svg version="1.1">
<circle transform="translate(8,52)" aria-label=" Nov 06, 2017 1.04" class="amcharts-graph-bullet"></circle>
</svg>
</div>





I try to use the CSS property :




  • :after

  • :before

  • text shadow


but nothing work until now.










share|improve this question


















  • 1




    check this link stackoverflow.com/questions/35754734/…
    – Znaneswar
    Nov 8 at 11:34










  • I already try box-shadow but it's look like it don't have any effect on the element circle
    – Kvasir
    Nov 8 at 11:40










  • Try reuse your circle with <use> and stroke the <use> element for the second stroke.
    – enxaneta
    Nov 8 at 11:56










  • I can't add anything in the HTML.
    – Kvasir
    Nov 8 at 12:17










  • The problem is that you can't use r:5; cx:0; cy:0;in your css You'll have to move at least the r in the SVG
    – enxaneta
    Nov 8 at 12:36













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I use the library amchart to create a chart. On this chart, there is some bullet created with the element "circle". It's possible to create a border on this bullet but I would also like to create a halo to it to reach this kind of result :



enter image description here



But actually I just get something like this :






circle 
{
r:5;
cx:0;
cy:0;
fill:#36004E;
stroke:#FFFFFF;
stroke-width:2;
}

body {
background: #333;
}

.module {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

svg {
fill: #333;
}

<div class="module">
<svg version="1.1">
<circle transform="translate(8,52)" aria-label=" Nov 06, 2017 1.04" class="amcharts-graph-bullet"></circle>
</svg>
</div>





I try to use the CSS property :




  • :after

  • :before

  • text shadow


but nothing work until now.










share|improve this question













I use the library amchart to create a chart. On this chart, there is some bullet created with the element "circle". It's possible to create a border on this bullet but I would also like to create a halo to it to reach this kind of result :



enter image description here



But actually I just get something like this :






circle 
{
r:5;
cx:0;
cy:0;
fill:#36004E;
stroke:#FFFFFF;
stroke-width:2;
}

body {
background: #333;
}

.module {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

svg {
fill: #333;
}

<div class="module">
<svg version="1.1">
<circle transform="translate(8,52)" aria-label=" Nov 06, 2017 1.04" class="amcharts-graph-bullet"></circle>
</svg>
</div>





I try to use the CSS property :




  • :after

  • :before

  • text shadow


but nothing work until now.






circle 
{
r:5;
cx:0;
cy:0;
fill:#36004E;
stroke:#FFFFFF;
stroke-width:2;
}

body {
background: #333;
}

.module {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

svg {
fill: #333;
}

<div class="module">
<svg version="1.1">
<circle transform="translate(8,52)" aria-label=" Nov 06, 2017 1.04" class="amcharts-graph-bullet"></circle>
</svg>
</div>





circle 
{
r:5;
cx:0;
cy:0;
fill:#36004E;
stroke:#FFFFFF;
stroke-width:2;
}

body {
background: #333;
}

.module {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

svg {
fill: #333;
}

<div class="module">
<svg version="1.1">
<circle transform="translate(8,52)" aria-label=" Nov 06, 2017 1.04" class="amcharts-graph-bullet"></circle>
</svg>
</div>






jquery html css svg amcharts






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 at 11:28









Kvasir

3931824




3931824








  • 1




    check this link stackoverflow.com/questions/35754734/…
    – Znaneswar
    Nov 8 at 11:34










  • I already try box-shadow but it's look like it don't have any effect on the element circle
    – Kvasir
    Nov 8 at 11:40










  • Try reuse your circle with <use> and stroke the <use> element for the second stroke.
    – enxaneta
    Nov 8 at 11:56










  • I can't add anything in the HTML.
    – Kvasir
    Nov 8 at 12:17










  • The problem is that you can't use r:5; cx:0; cy:0;in your css You'll have to move at least the r in the SVG
    – enxaneta
    Nov 8 at 12:36














  • 1




    check this link stackoverflow.com/questions/35754734/…
    – Znaneswar
    Nov 8 at 11:34










  • I already try box-shadow but it's look like it don't have any effect on the element circle
    – Kvasir
    Nov 8 at 11:40










  • Try reuse your circle with <use> and stroke the <use> element for the second stroke.
    – enxaneta
    Nov 8 at 11:56










  • I can't add anything in the HTML.
    – Kvasir
    Nov 8 at 12:17










  • The problem is that you can't use r:5; cx:0; cy:0;in your css You'll have to move at least the r in the SVG
    – enxaneta
    Nov 8 at 12:36








1




1




check this link stackoverflow.com/questions/35754734/…
– Znaneswar
Nov 8 at 11:34




check this link stackoverflow.com/questions/35754734/…
– Znaneswar
Nov 8 at 11:34












I already try box-shadow but it's look like it don't have any effect on the element circle
– Kvasir
Nov 8 at 11:40




I already try box-shadow but it's look like it don't have any effect on the element circle
– Kvasir
Nov 8 at 11:40












Try reuse your circle with <use> and stroke the <use> element for the second stroke.
– enxaneta
Nov 8 at 11:56




Try reuse your circle with <use> and stroke the <use> element for the second stroke.
– enxaneta
Nov 8 at 11:56












I can't add anything in the HTML.
– Kvasir
Nov 8 at 12:17




I can't add anything in the HTML.
– Kvasir
Nov 8 at 12:17












The problem is that you can't use r:5; cx:0; cy:0;in your css You'll have to move at least the r in the SVG
– enxaneta
Nov 8 at 12:36




The problem is that you can't use r:5; cx:0; cy:0;in your css You'll have to move at least the r in the SVG
– enxaneta
Nov 8 at 12:36

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53206828%2fcreate-a-circle-with-2-stroke%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53206828%2fcreate-a-circle-with-2-stroke%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Schultheiß

Verwaltungsgliederung Dänemarks

Liste der Kulturdenkmale in Wilsdruff