function showProgressCircle(percent) {
  let bar;
  if (percent <= 25) {
    bar = new ldBar("#progressCircle", {
      "stroke": '#f00',
      "stroke-width": 10,
      "preset": "bubble",
      "fill": "data:ldbar/res,bubble(#DC143C,#fff,50,1)"
    });
    document.querySelector("#restDaten").style.color = "brown";
  } else {
    bar = new ldBar("#progressCircle", {
      "stroke": '#f00',
      "stroke-width": 10,
      "preset": "bubble"
    });
  }
  bar.set(percent);
}
/**
 * show a progress circle corresponding to the  @param percent
 * make a progress circle red if @param percent < 25 %  
 * @param {number} percent - current rest data volume from user in percent
 */
show a progress circle corresponding to the  @param percent
make a progress circle red if @param percent < 25 %
@param {number} percent - current rest data volume from user in percent
show a progress circle corresponding to the @param percent make a progress circle red if @param percent < 25 % @param { number } percent - current rest data volume from user in percent
function showProgressCircle(percent) {
  let bar;
  if (percent <= 25) {
    bar = new ldBar("#progressCircle", {
      "stroke": '#f00',
      "stroke-width": 10,
      "preset": "bubble",
      "fill": "data:ldbar/res,bubble(#DC143C,#fff,50,1)"
    });
    document.querySelector("#restDaten").style.color = "brown";
  } else {
    bar = new ldBar("#progressCircle", {
      "stroke": '#f00',
      "stroke-width": 10,
      "preset": "bubble"
    });
  }
  bar.set(percent);
}
function showProgressCircle ( percent ) { let bar ; if ( percent <= 25 ) { bar = new ldBar ( "#progressCircle" , { "stroke" : '#f00' , "stroke-width" : 10 , "preset" : "bubble" , "fill" : "data:ldbar/res,bubble(#DC143C,#fff,50,1)" } ) ; document . querySelector ( "#restDaten" ) . style . color = "brown" ; } else { bar = new ldBar ( "#progressCircle" , { "stroke" : '#f00' , "stroke-width" : 10 , "preset" : "bubble" } ) ; } bar . set ( percent ) ; }
show a progress circle corresponding to the  @param percent
 make a progress circle red if @param percent < 25 %
 @param {number} percent - current rest data volume from user in percent
show a progress circle corresponding to the @param percent make a progress circle red if @param percent < 25 % @param { number } percent - current rest data volume from user in percent