Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 1
  • 2
  • 3
  • 4
  • 5
Runtime JavaScript
#1
arkadaşlar selam...
asm

Circles.create({
           id: 'circles-1',
           radius: 45,
           value: 60,
           maxValue: 100,
           width: 7,
           text: 5,
           colors: ['#f1f1f1', '#FF9E27'],
           duration: 400,
           wrpClass: 'circles-wrp',
           textClass: 'circles-text',
           styleWrapper: true,
           styleText: true
       })

end;

bu javascrip teki  değerleri nasıl değiştirebilirim
Cevapla
#2
İki süslü parantez arasını (süslü parantezler dahil) copy ile alıp bu kısmı json parse method ile nesneye dönüştürüp başlık değerlerini değiştirmek mümkün görüyorum .

Sonucu da json olarak aynı aralığa koyabilirsiniz.
Saygılarımla
Muharrem ARMAN

guplouajuixjzfm15eqb.gif
Cevapla
#3
teşekkür ederim

Veri := StrToInt(xxxx);
VeriLbl := xxx.ToString;
Circle := 'circles-Soru';

asm
var newData = {
id: Circle,
radius: 45,
value: Veri,
maxValue: 100,
width: 7,
text: VeriLbl,
colors: ['#f1f1f1', '#FF9E27'],
duration: 400,
wrpClass: 'circles-wrp',
textClass: 'circles-text',
styleWrapper: true,
styleText: true
};
Circles.create(newData);
end;

bu şekilde oldu
Cevapla


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  TMS Web Core - JavaScript Kullanmak rmzgenius 2 985 23-11-2023, Saat: 13:20
Son Yorum: nehirnnn
  Unigui runtime font sorunu ermanispir@gmail.com 4 3.710 10-06-2019, Saat: 19:47
Son Yorum: ermanispir@gmail.com
  [ÇÖZÜLDÜ] UniGUI İşleyiş Sorunu (JavaScript) Halil Han BADEM 6 5.219 23-04-2019, Saat: 15:54
Son Yorum: Halil Han BADEM
Question UniBitBtn design time ve runtime resim boyutu değişikliği masteryoda 0 2.784 10-10-2016, Saat: 16:19
Son Yorum: masteryoda



Konuyu Okuyanlar: 1 Ziyaretçi