Describes the update of a display (or a part of it, like a program window) to show the latest version of the data.
Questions tagged [redraw]
385 questions
3
votes
1 answer
Trigger D3 redraw after ng-repeat finishes
I have interesting question regarding an application making use of AngularJS and D3. Essentially, I have an ng-repeat which repeats based on the contents of an array. In this array are objects which contain a REST url they will periodically reach…

SleepyProgrammer
- 443
- 1
- 5
- 15
3
votes
1 answer
Better event-based redraw() of Processing.js when using noLoop()
I am using Processing.js, with jQuery 1.3.2 at my disposal, and targeting Firefox 3.5, Safari 4 and IE 8 (through ExplorerCanvas). The Processing.js website says "Using Explorer Canvas with Processing.js typically results in unusable frame-rates for…

Thomas B. Higgins
- 257
- 4
- 14
3
votes
2 answers
Android - How to find a Rect after a zoom
I'm fairly new to coding, and brand new to graphics. I would be grateful for a bit of direction, as I haven't been able to find the answer i need.
I have a class that extends view. I created several 3-layered rects in a custom canvas. I am…

Watercayman
- 7,970
- 10
- 31
- 49
3
votes
2 answers
How to draw a picture instead of the slider on Qt QSlider?
I have created a class that inherits from QSlider. I want to draw a picture on the slider (grabber) instead of showing the plain one. How to do it?
--
I found an answer and posted after I had received the reply. With due respect to the responder, I…

Viet
- 17,944
- 33
- 103
- 135
3
votes
2 answers
Modal View is Resetting My Existing View Controller
I load a view controller in my code using a segue in UIStoryboard. Based on a few user selected options, I then hide or show a UI control using an animation. It all works fine.
- (void)showComments {
NSLog(@"Show Comments");
…

ddorrity
- 96
- 5
3
votes
2 answers
Microsoft chart control - redraw chart after failure (red cross)
I have a treeView element where every node represent a double list.
I'm using a DataVisualization.Charting control to display the values in the list.
For some of the lists I get an exception after RecalculateAxesScale (System.OverflowException:…

purbsel
- 307
- 8
- 21
3
votes
2 answers
Chrome is somehow erasing the background image?
Well this is baffling. Currently working on a project, when I get hit with this.
I have a background image on the content area, defined with background-attachment:local and background-position:bottom right. For some reason, when any element…

Niet the Dark Absol
- 320,036
- 81
- 464
- 592
3
votes
2 answers
Flickering UIImageView
I have created a kiosk application with a main view and a modal view with an image carousel as a screensaver. This modal view slides down whenever the screen is touched.
If the devices are left alone for a very long time (overnight) with the app…

Maciej Swic
- 11,139
- 8
- 52
- 68
3
votes
3 answers
SWT update / redraw / layout prοblem
I know many people experience this problem, but the solutions I found online do not seem to solve mine. I have a composite that has three buttons. What I want is the following :
When I click one button, I want some other button to be grayed out (…
user144744
3
votes
2 answers
Refresh after sending a WM_SETREDRAW message to the panel
ControlHelper.SuspendDrawing(panel);
panel.Controls.Clear();
AddItemIdLabel();
AddLastEditedLabel();
AddDeleteButton();
AddSaveButton();
ControlHelper.ResumeDrawing(panel);
public static class ControlHelper
{
[DllImport("user32.dll")]
…

Maximiliaan Aelvoet
- 69
- 1
- 10
2
votes
2 answers
Redraw Label Control In VBa
Is it possible to repaint the form for only one control. That is I need to increase the width of a label. but while repainting the form, the form totally refreshing. that looks like the form is blinking. So I need to redraw the label only. Please…

skmaran.nr.iras
- 8,152
- 28
- 81
- 116
2
votes
2 answers
redrawing just a part in android view
I extended a View and call the invalidate() method to force redrawing. I only redraw a part off the View, but everything else is black.
How can I stop clearing the screen before onDraw() is called?

Ussr
- 197
- 1
- 2
- 14
2
votes
2 answers
Android: Force updating layout
I'm trying to change background color of ImageView, but it updates only after I click on it. I tried to do layout.invalidate(), layout.postInvalidate() where layout is my root element in layout xml file:

Angrybambr
- 220
- 3
- 10
2
votes
1 answer
'image stretch' proxy for slow Swing component?
I have an application that displays plots using JFreeChart. As it happens, these plots are big and JFreeChart is not terribly fast, resulting in atrocious redraw times, particularly when resizing the plot.
What I am after is a way to stretch an…

Rom1
- 3,167
- 2
- 22
- 39
2
votes
0 answers
Add node to force directed graph in d3.js
I've found a nice example of a force directed graph in d3.js version 7 that I wanted to extend: https://observablehq.com/@brunolaranjeira/d3-v6-force-directed-graph-with-directional-straight-arrow
I now want to have a button, that inserts some new…

luhu
- 361
- 3
- 12