alice123
-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by alice123
-
-
try'd it in different variants, non will work:
L.Delimiter:=','; JSCode(#1'.chart.colors="' + L.DelimitedText + '".split(",");'); JSCode(#1'.chart.series[0].setRenderer();'); JSCode(#1'.chart.series[0].setRenderer('#1'.chart.refill);');
-
3 hours ago, Sherzod said:
This code is for this purpose. Have you tested?
3.
procedure TMainForm.Set_Colors(L:Tstrings); begin with UniChart1.JSInterface do begin L.Delimiter:=','; JSCode(#1'.chart.colors="' + L.DelimitedText + '".split(",");'); JSCode(#1'.chart.series[0].setRenderer();'); JSCode(#1'.chart.series[0].setRenderer('#1'.chart.refill);'); end; end;
Tested, right now.
Doesnt work.
-
3 hours ago, Sherzod said:
Have you tried this approach?
No, because it need to be possible change colors at runtime .
-
1 hour ago, Sherzod said:
I mean, seven years ago you have been registered on the forum. And you are still using the trial version.
Yes, got forgotten for a long time, now i will get more and more Interesting.
But, if it isnt possible (chart bar color) then ok, we (i) have to look for a other solution (with unigui).
- 1
-
1 minute ago, Sherzod said:
Sorry, still testing framework?
?
i try this all with FMSoft uniGUI Complete Professional 1.90.0.1551 Trial
-
9 minutes ago, Sherzod said:
You can try redraw instead of refresh.
I try'd this before, doesnt work.
-
4 minutes ago, Sherzod said:
This post may help you:
http://forums.unigui.com/index.php?/topic/9344-unichart-set-color-on-barseries/
yes, there was my code from
>>Now, is it possible to change colors at runtime ?
and this was your code from there:
with UniChart3.JSInterface do
begin
JSAssign('chart.colors', [JSArray(['green','yellow','red'])]);
JSCall('chart.refresh', []);
end;but this give me this error:
-
2 minutes ago, Sherzod said:
And?
What you wanted?
In different colors, for example:
1bar in red
2bar in green
3bar in blue
-
20 minutes ago, Sherzod said:
Sorry?
all bars will be painted with the same color, in this case yellow, see:
-
20 minutes ago, Sherzod said:
with UniChart3.JSInterface do JSCall('chart.setColors', [JSArray(['green','yellow','red'])]);
This will paint *all bars to green not only the first one 😔
-
20 hours ago, Sherzod said:
I'm not sure if this is possible.
i try'd like this:
with your code, that i found here :
procedure TMainForm.UniButton2Click(Sender: TObject);
var st:string;
beginst:='''Red'',''Yellow'',''Green''';
with UniChart3.JSInterface do
begin
JSAssign('chart.colors', [JSArray(['green','yellow','red'])]);
JSCall('chart.refresh', []);
end;end;
will not work.
but if this work, thats enough for me, i will try to repaint the chart with the correct colors then retroactively.
-
3 hours ago, Sherzod said:
Hello,
First of all, please specify which edition and build of UniGUI are you using?
And, is it possible ?
If yes, how ?
-
The current Trial, for now.
-
hi,
similar question:
how to do this ?
-
hi,i want to buy a personal licence from germany for 395 $.During the payment (via paypal) i noticed that the price raised from 395$ to 470$ why ?
-
8 minutes ago, Sherzod said:
for me:
"You do not have permission to view this content. "
-
Hi all,
are this components included in the current release package ?
I read this: uniGUI Quasar (2.0.0) (Q1/2020 – Q2/2020)
best wishes
alice
-
and is there something like that !?
-
something like that, lines with smooth curves .
-
i didnt use unigui at all for a long Time.
but now maybe, thats why i ask.
-
hi,
we will need for a project in the future a linechart with the function Spinline, will unigui standart unichart will have this feature in the future ?
best wishes
UniChart:How to make a chart like this?
in General
Posted
Great !
Thank you. This is quite important for us to see. Please notify me for this if possible.