23.09.2022, 11:05
Default Visualization settings have scaling enabled. So unless your visualization plan size is the same as the screen size it will be scaled.
Since the library doesn't adjust to scaling by default you will get something this:
With the fixed version it works correctly:
Replace JS library URL:
With this:
These screenshots are done with this data script:
The random values between 100 and 300 are divided by 1000 on the client side.
If this still does not work then check browser error console (F12) for any errors.
Since the library doesn't adjust to scaling by default you will get something this:
With the fixed version it works correctly:
Replace JS library URL:
Code:
$.getScript('https://cdnjs.cloudflare.com/ajax/libs/chartist/0.11.4/chartist.min.js', function() {
Code:
$.getScript('https://dl.openrb.com/misc/chartist.js', function() {
These screenshots are done with this data script:
Code:
<?
math.randomseed(os.time())
data = {}
for i = 1, 24 do
data[ i ] = math.random(100, 300)
end
json.write(data)
The random values between 100 and 300 are divided by 1000 on the client side.
If this still does not work then check browser error console (F12) for any errors.