Hi. There is an error in ProgressBarOptions definitions for value property:
interface ProgressBarOptions {
name?: string;
animation?: ProgressBarAnimation;
chunkCount?: number;
enable?: boolean;
max?: number;
min?: number;
orientation?: string;
reverse?: boolean;
showStatus?: boolean;
type?: string;
value?: number;
//should be number | boolean!!!!
change?(e: ProgressBarChangeEvent): void;
complete?(e: ProgressBarCompleteEvent): void;
}
I've a kendo progress bar defined with angularjs directive. I'm able to set the min, max and value. But I cannot find the way to set the progress status text.
The example provided is using a jQuery way:
passProgress.progressStatus.text("Empty");});
I cannot figure out how to do it. My code looks like this.
<div kendo-progress-bar="progressBar"
k-min="voterStatus.progressOption.min"
k-max="voterStatus.progressOption.max"
k-value="voterStatus.progressOption.progress" >
</div>
Hi,
I have a screen with multiple progress bars, all using Chunk types. These are created in the code behind as I wouldn't know the values.
It all works ok apart from if the chunkCount is 1. the progress bar looses its sizing and doesn't look right.
I tried on the demo site and it does the same thing. Is this a bug or is there a way around it?
I know it makes sense to use the type value if its only 1 chunk but as its created from the code behind I would like to keep all the bars the same.
Thanks
Tej