Skip to content

Commit

Permalink
fix the capitalisation of list headings
Browse files Browse the repository at this point in the history
  • Loading branch information
SlicedSilver committed Jun 14, 2024
1 parent b7b0ebf commit 4c1e8c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/tutorials/how_to/horizontal-price-scale.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ price values.

### Implement price-based horizontal scale

1. **Define the Custom Localization Options Interface**
1. **Define the custom localization options interface**

Extend the [`LocalizationOptions`](/docs/api/interfaces/LocalizationOptions)
interface to include a `precision` property.
Expand All @@ -171,15 +171,15 @@ export interface CustomLocalizationOptions
}
```

2. **Define the Type Alias**
2. **Define the type alias**

Define a type alias for the horizontal scale item representing price values.

```ts
export type HorzScalePriceItem = number;
```

3. **Implement the Custom Horizontal Scale Behavior Class**
3. **Implement the custom horizontal scale behavior class**

The `HorzScaleBehaviorPrice` class implements the `IHorzScaleBehavior`
interface, with additional logic to handle the precision provided in the custom
Expand Down

0 comments on commit 4c1e8c8

Please sign in to comment.